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

4 hours ago

What's Changed

⚠️ Breaking Changes

  • Interfaces converted from azurerm to azapi (#52) — the resource lock, role assignment, and diagnostic settings interfaces are now implemented with azapi_resource via the Azure/avm-utl-interfaces utility module. The azurerm provider dependency has been removed from the module entirely. (#108)

Input/output compatibility: the lock, role_assignments, and diagnostic_settings variable schemas are unchanged — no inputs or outputs were added, removed, or renamed. Existing configurations do not need to change.

Upgrade impact on terraform apply:

  • Locks & diagnostic settings migrate in place via moved blocks — no recreation.
  • Role assignments are recreated once. Their underlying resource name changes from the azurerm-generated GUID to the utility module's generated name, so Terraform will destroy and re-create each role assignment on the first apply after upgrading. This is a metadata-only churn — the effective access (principal, role, scope) is identical before and after. Plan carefully if you have policies that react to role-assignment lifecycle events.

Why

Aligns the module with the AVM direction of using azapi + shared interface utility modules, reduces provider surface area, and removes the dual-provider (azurerm + azapi) requirement for consumers.

Contributors

Full Changelog: v0.18.2...v0.19.0

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

NewReleases is sending notifications on new releases.