github Azure/terraform-azurerm-avm-res-compute-virtualmachine v0.22.0

35 minutes ago

Breaking changes

  • Migrates virtual machines and associated resources from AzureRM to AzAPI; requires Terraform >= 1.16, < 2.0 and AzAPI ~> 2.12.
  • Existing deployments must back up state and review the full upgrade plan. Keep AzureRM and ModTM providers available while Terraform migrates/forgets prior state; do not apply unexpected replacements or deletions.
  • If the module manages generated Key Vault credentials, set avm_managed_migration_enabled = true for one apply to adopt existing secrets. See the upgrade guidance.

What's Changed

Other Changes

  • Fix/change zrs disk example to use premium zrs by @thomascoats in #363
  • fix: add vm_agent_platform_updates_enabled to Linux VM ignore_changes (parity with Windows) by @thomascoats in #362
  • fix: validate Windows computer_name length and correct name error mes… by @thomascoats in #364
  • fix: replace deprecated enable_automatic_updates with automatic_updates_enabled by @thomascoats in #365
  • feat: add public_network_access_enabled and network access controls for the OS disk by @thomascoats in #367
  • fix: skip remaining osProfile attributes in OS disk attach mode (409 on import) by @thomascoats in #369
  • feat: add resource lock support for the OS disk by @thomascoats in #368
  • fix: manage Azure Backup protected item lifecycle explicitly by @thomascoats in #370
  • fix: require Terraform 1.10 in submodules for sensitive dynamic for_each by @thomascoats in #372
  • docs: explain why os_disk and network interfaces have no delete_option by @thomascoats in #375
  • docs: clarify cross-subscription Application Gateway backend pools by @thomascoats in #376
  • fix: validate Microsoft Entra SSH extension prerequisites by @thomascoats in #374
  • docs: document specialized gallery image limitation and add example by @thomascoats in #371
  • feat: extract Azure Backup into a standalone submodule by @thomascoats in #380
  • feat: declare the TFFR6/7/8 AzAPI interface variables by @thomascoats in #389
  • fix: use # comments so tflint terraform_comment_syntax passes by @thomascoats in #390
  • feat: migrate locks, role assignments and diagnostic settings to azapi by @thomascoats in #387
  • feat: migrate the network interface and public IP to azapi by @thomascoats in #392
  • fix: restore lint under the Avm.Authoring 0.10.1 ruleset by @thomascoats in #395
  • feat: migrate the managed disk to azapi by @thomascoats in #396
  • fix: stop setting a shutdown webhook the service discards by @thomascoats in #399
  • feat: migrate the Linux virtual machine to azapi by @thomascoats in #397
  • chore: drop the lint suppressions that are no longer needed by @thomascoats in #401
  • feat: migrate the Windows virtual machine to azapi by @thomascoats in #402
  • fix: stop lint failing on the azapi declaration in the submodules by @thomascoats in #407
  • feat: azapi migration - carry the data disks on the machine instead of attaching them by @thomascoats in #405
  • fix: reject the sku finder sentinel instead of sending it to ARM by @thomascoats in #408
  • test: cover extension protected settings before migrating them by @thomascoats in #411
  • feat(metadata): add approved module metadata by @jaredfholgate in #421
  • feat: migrate the extension and run command submodules to azapi by @thomascoats in #417
  • feat: migrate the shutdown schedule to azapi by @thomascoats in #422
  • test: stop pinning the examples to canadacentral by @thomascoats in #434
  • fix: wait for lock removal before deleting locked resources by @thomascoats in #430
  • chore: run avm pre-commit with Avm.Authoring 0.31.0 by @thomascoats in #435
  • feat!: migrate the key vault secrets to azapi and drop the azurerm provider by @thomascoats in #428
  • fix: keep values Azure assigns to the virtual machine stable across updates by @thomascoats in #431
  • fix: only send encryptionAtHost when it is enabled by @thomascoats in #432
  • fix: update virtual machine module dependencies by @jaredfholgate in #440

New Contributors

Full Changelog: v0.21.0...v0.22.0

Don't miss a new terraform-azurerm-avm-res-compute-virtualmachine release

NewReleases is sending notifications on new releases.