The Wire · Showcase
TERRAFORM AZURERM 5.0 BREAKS ADDRESS_SPACE - PLAN YOUR MIGRATION NOW
By RepoJournal · Filed · About HashiCorp
Terraform's Azure provider is shipping a breaking change in 5.0 that converts address_space from a List to a Set, forcing configuration rewrites for anyone managing local network gateways.
The terraform-provider-azurerm team merged a structural change [1] [2] that reshapes how address_space attributes are handled in azurerm_local_network_gateway resources. This isn't a bug fix or feature add. It's a deliberate breaking change that will require you to rewrite Terraform configs before upgrading to 5.0. The shift from List to Set changes ordering semantics and will trigger plan diffs on otherwise identical configurations. Across the Nomad ecosystem, nightly builds are rolling for the Podman driver [3], Nomad Autoscaler [4], and Nomad Pack [5], giving early testers a window to catch issues before stable releases. If you're running Azure infrastructure through Terraform, this is the upgrade you need to plan for now, not discover in production.
One email a day. Unsubscribe in one click.
Keep up with HashiCorp in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Audit terraform-provider-azurerm configs for azurerm_local_network_gateway resources with address_space blocks hashicorp/terraform-provider-azurerm [plan]
- → Test Nomad Podman driver, Autoscaler, and Pack against nightly builds in non-production before stable release hashicorp/nomad-driver-podman [monitor]
- → Schedule Azure provider 5.0 upgrade for next major Terraform deployment cycle hashicorp/terraform-provider-azurerm [plan]
References
- [1] `azurerm_local_network_gateway` - change type of `address_space` to Set in 5.0 ↗ hashicorp/terraform-provider-azurerm
- [2] `azurerm_local_network_gateway` - change type of `address_space` to Set in 5.0 (#32460) hashicorp/terraform-provider-azurerm
- [3] nightly ↗ hashicorp/nomad-driver-podman
- [4] nightly ↗ hashicorp/nomad-autoscaler
- [5] nightly ↗ hashicorp/nomad-pack