azurerm_virtual_network see constant drift if address_space array order is updated #23328
Closed
1 task done
Labels
service/network
upstream/microsoft/blocking-api-issue
This label is applicable when there is a bug on the Azure API that is blocking.
v/3.x
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
0.12.31
AzureRM Provider Version
3.71.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_network
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When the elements of the address_space property are re-ordered, the virtual network should be updated to reflect this.
Subsequent plans should then show no changes.
Actual Behaviour
The actual behavior is that the virtual network is not being updated.
I can see from using a MITM proxy that the PUT request is correctly includes the re-ordered CIDRs. However, the response contains the original ordering.
REQUEST
RESPONSE
Steps to Reproduce
Important Factoids
The order is important because it's coming from a map object, so the order is determined by the lexicographical order names of entries in the map which is out of my control.
References
No response
The text was updated successfully, but these errors were encountered: