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

latest release: v0.18.1
6 hours ago

What's Changed

Features

  • Pass through number_of_ip_addresses for IPAM pools (root module + subnet submodule), enabling single address-count IPAM allocation. Originally contributed by @timja in #67.

Bug Fixes

  • Require number_of_ip_addresses or prefix_length per IPAM pool (XOR validation), preventing a plan-time crash when neither is set. Contributed by @martinopedal in #67.
  • Fix regex for IPAM pool ID validation. Contributed by @walkerk1980 in #65.
  • Stop emitting the unsupported enabled_metric diagnostic block for virtual networks (interface-compliant: the metric_categories input is retained). Contributed by @deni-cpu and @martinopedal in #69.
  • Align IPv6 IPAM pool validation with IPv4 (full /48/64 range, null-guarded). By @haflidif.

Tests

  • Add terraform test unit coverage for ipam_pools variable validations (9 runs). By @haflidif.

Issues fixed

  • Closes #66 — IPAM allocation by address count
  • Closes #64 — regex now allows . in IPAM pool names
  • Closes #43 — removes the unsupported dynamic enabled_metric for virtual networks

Contributors

Huge thanks to everyone whose work is included in this release 🙏

Note: External contributions were reimplemented on an owner-controlled release branch (#104) because fork PRs cannot run the AVM CI directly; original authorship is preserved via commit Co-authored-by trailers. Multi-pool IPAM (#102) remains out of scope per the Azure AVNM API constraints discussed in #71 (one IPv4 + one IPv6 pool per VNet, no mixing). #70 is tracked separately.

Full Changelog: v0.17.1...v0.18.0

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

NewReleases is sending notifications on new releases.