Open JackBruceShell opened 1 month ago
Thanks for raising this issue. May I ask if the Virtual Network with Subnet is created with v3.x? Does this issue happen since TF azurerm provider is upgraded to v4.x?
@neil-yechenwei
Yes this Virtual Network with Subnet was created with v3.x
We have only noticed this issue recently once Version 4 has been available, yes.
Thanks
Hi @neil-yechenwei
Is there any updates here at all?
Thanks.
Hi @neil-yechenwei
Can I please ask for an update?
@neil-yechenwei , @caius , @mitchellh , @lamdor
Referencing everybody here that I can see to get some form of response.
Thanks in advance.
:wave: @JackBruceShell Thank you for opening this issue. Do you know what 3.x version this Virtual Network with Subnet was created in, to help isolate and investigate what code changes could be impacting you? To help us maintain a supportive environment for everyone, please remember to follow our community note at the top of the issue regarding asking for updates.
Hi @rcskosir
The Virtual Network with Subnet would have been created with anything < 4.0.0.
We found this issue when v4.x came out.
Is there an existing issue for this?
Community Note
Terraform Version
Latest
AzureRM Provider Version
4.5.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_network
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No changes to any subnets azurerm_private_dns_zone_virtual_network_link is not force replaced
Actual Behaviour
Subnets are updated-in-place and shows that the ID of the subnet is changing but should not be happening.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
https://github.com/hashicorp/terraform/issues/35841