AzureBreaking change
avm-res-compute-virtualmachine 0.22.0: breaking changes
Release date of version 0.22.0 of the Azure Verified Module avm-res-compute-virtualmachine: 16 Nov 2026. Breaking changes listed in the release notes: 3.
Breaking since , 16 Nov 2026
What breaks
Breaking changes listed in the release notes:
- 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.
Who is affected
Affected versions
0.22.0
What to do
- Breaking changes listed in the release notes for 0.22.0: 3. HashiCorp recommends explicitly constraining the acceptable version numbers to avoid unexpected or unwanted changes.
- Check the
versionargument of the module block that installs avm-res-compute-virtualmachine from the Terraform Registry. Terraform uses the newest installed version that meets the constraint. When no acceptable version is installed, it downloads the newest version that meets the constraint, so a constraint that allows 0.22.0 can bring in this release. A module block with noversionargument defaults to the latest version available from the source. - The AVM versioning specification requires that, until a module's first major version 1.0.0 is released, the minor version is bumped for breaking changes and the major version is not bumped.
- To stay on an earlier version for now, require a specific version. HashiCorp recommends this for third-party modules so that updates only happen when convenient to you.
- To adopt 0.22.0, set the
versionargument to it, then runterraform initso that Terraform can update the local code.
Replacement
Not stated by vendor.
Sources
- Official sourcegithub.comOfficial
- Additional sourceregistry.terraform.ioOfficial
Last checked against the first source in this list on .
Related
avm-res-compute-virtualmachine breaking changes by version
- , 16 Nov 2026avm-res-network-networksecuritygroup 0.7.0: breaking changesSource
- , 16 Nov 2026avm-res-network-routetable 0.7.0: breaking changesSource
- , 16 Nov 2026avm-res-operationalinsights-workspace 0.6.0: breaking changesSource
- , 17 Nov 2026avm-res-network-bastionhost 0.10.0: breaking changesSource
- , 17 Nov 2026avm-res-web-site 0.25.0: breaking changesSource
- , 18 Nov 2026avm-res-operationalinsights-workspace 0.7.0: breaking changesSource
Found an error? Report it
The text on this page is drafted with AI assistance from the vendor's text, checked against the official source and approved by a person before it is published. How items are written
Last checked · Added · Changelog for this item