Hi terraformers!
The “AllowUpdateAddressSpaceInPeeredVnets” has been in preview (at least) since 2021-08-13 (ref: How to re-size Azure virtual networks that are peered—now in preview | Azure Blog and Updates | Microsoft Azure).
Being able to add/remove address prefixes to peered VNETs containing production workloads makes our lives so much more easy.
I have been testing this feature on some of our “legacy” (not terraformed) environments manually via the portal, and the feature works as intended.
But when I try to make similar changes to VNET(s) under terraform, it throws the “…VNET_NAME cannot change when virtual network has peerings.” Details=" error in my face.
Question
It the preview feature “AllowUpdateAddressSpaceInPeeredVnets” supported by the azurerm provider - and if so, what version should I be using? (currently at 2.37.0, yes it’s old).
Any input on this would be very helpful indeed.
Thanks,
Espen