github Azure/terraform-azurerm-avm-res-network-virtualnetwork v0.20.0

6 hours ago

Warning

Breaking change: subnet service endpoints. service_endpoints_with_location is removed and now raises a validation error instead of being silently discarded. Configure subnet service endpoints with names only:

subnets = {
  example = {
    name              = "example"
    address_prefixes  = ["10.0.0.0/24"]
    service_endpoints = ["Microsoft.Storage", "Microsoft.KeyVault"]
  }
}

This affects anyone upgrading from v0.15.0 through v0.19.0, where service_endpoints_with_location was the only available input. Azure expands service-endpoint locations implicitly, so the module no longer manages them. This resolves the repeated-diff and silent endpoint-removal behaviour reported in #22, #39, and #50.

Other notable changes

  • The azapi provider floor is now ~> 2.11, which guarantees the upstream fixes for Missing Resource Identity After Read (#56) and the subnet delegation crash (#63).
  • Subnets can omit privateEndpointNetworkPolicies in regions that do not support it (#46).
  • Reverse peering guards gateway-transit create ordering (#57).
  • The README now documents Migrating from v0.1.x using moved blocks, so the v0.2.0 azurerm to azapi rewrite no longer requires destroying and recreating resources (#111).

Thanks to @mr-scripting, @rdeenen1990, @bronius, @smilnovic-adf, and @deepukumark2119 for the reports behind these fixes.

What's Changed

  • chore: sync managed files [skip ci] by @azure-verified-modules[bot] in #112
  • chore: sync managed files [skip ci] by @azure-verified-modules[bot] in #113
  • chore: sync managed files [skip ci] by @azure-verified-modules[bot] in #118
  • chore: sync managed files [skip ci] by @azure-verified-modules[bot] in #119
  • Fix stale azurerm mock_provider in extended_location unit test by @andyleejordan with @Copilot in #122
  • Register multi-peering feature in peer_only_specified_address_spaces by @andyleejordan in #124
  • Bump azapi floor to ~> 2.10 to avoid subnet delegation crash by @andyleejordan in #123
  • chore(deps): bump the github-actions group with 7 updates by @dependabot[bot] in #120
  • chore: sync managed files [skip ci] by @azure-verified-modules[bot] in #128
  • fix: allow omitting privateEndpointNetworkPolicies in unsupported regions (#46) by @andyleejordan in #127
  • fix: guard reverse-peering gateway-transit create ordering (#57) by @andyleejordan in #126
  • feat!: revert subnet service endpoints to names-only input by @andyleejordan in #130
  • Bump azapi floor to ~> 2.11 to fix missing resource identity by @andyleejordan in #131
  • chore(deps): bump the github-actions group with 7 updates by @dependabot[bot] in #129
  • docs: add v0.1 migration guidance by @andyleejordan in #132

New Contributors

Full Changelog: v0.19.0...v0.20.0

Don't miss a new terraform-azurerm-avm-res-network-virtualnetwork release

NewReleases is sending notifications on new releases.