What's Changed
Features
- Pass through
number_of_ip_addressesfor IPAM pools (root module + subnet submodule), enabling single address-count IPAM allocation. Originally contributed by @timja in #67.
Bug Fixes
- Require
number_of_ip_addressesorprefix_lengthper 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_metricdiagnostic block for virtual networks (interface-compliant: themetric_categoriesinput is retained). Contributed by @deni-cpu and @martinopedal in #69. - Align IPv6 IPAM pool validation with IPv4 (full
/48–/64range, null-guarded). By @haflidif.
Tests
- Add
terraform testunit coverage foripam_poolsvariable 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_metricfor virtual networks
Contributors
Huge thanks to everyone whose work is included in this release 🙏
- @timja — #67
- @martinopedal — #67, #69
- @walkerk1980 — #65
- @deni-cpu — #69
- @jaredfholgate — review
- @haflidif — maintainer
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-bytrailers. 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