AzureBreaking change
Terraform AzureRM provider 5.0.0: breaking changes
Release date for Terraform AzureRM provider 5.0.0: 27 Jul 2026. Breaking changes listed in the release notes: 1.
Breaking since , 27 Jul 2026
What breaks
Breaking changes listed in the release notes:
- Major Version: Version 5.0 of the Azure Provider is a major version - some behaviours have changed and some deprecated fields/resources have been removed - please refer to the 5.0 upgrade guide for more information.
Who is affected
Affected versions
5.0.0
What to do
- Give the provider a version constraint in the
required_providersblock. HashiCorp recommends a version constraint for every provider a module depends on. - In a root module, also specify the maximum provider version, to avoid accidental upgrades to incompatible new versions. The
~>operator is a shorthand that allows the rightmost component of a version to increment. Do not use~>or other maximum-version constraints in modules you intend to reuse across many configurations. Specify a minimum version there and let the root module manage the maximum version. - Commit the dependency lock file to version control with the configuration, so that Terraform always installs the same provider versions.
- To adopt 5.0.0, change the version in the
required_providersblock and re-runterraform init. HashiCorp states that this upgrades the provider version in the lock file. Without a change, Terraform re-selects the version recorded in the lock file, even if a newer version has become available. With the-upgradeoption,terraform initdisregards the recorded selection and selects the newest available version matching the version constraint. The release notes list each breaking change. - Review the changes Terraform made to the lock file in version control. If they are changes you made intentionally, send them through the usual code review process.
Replacement
Not stated by vendor.
Sources
- Official sourcegithub.comOfficial
- Additional sourceregistry.terraform.ioOfficial
Last checked against the first source in this list on .
Related
azurermbreaking changes by version
- , 21 Oct 2024Terraform AzAPI provider 2.0.1: breaking changesSource
- , 18 Jun 2025Terraform AWS provider 6.0.0: breaking changesSource
- , 26 Aug 2026Terraform CLI: Terraform 1.14 end of supportSource
- , 2 Sep 2026Terraform OCI provider 9.0.0: breaking changesSource
- , 15 Sep 2026avm-res-web-site 0.23.0: breaking changesSource
- , 7 Oct 2026avm-res-network-networksecuritygroup 0.6.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