Closed wozorio closed 5 years ago
I'm going to lock this issue because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error π€ π , please reach out to my human friends π hashibot-feedback@hashicorp.com. Thanks!
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.2
provider: azurerm 1.30.1
Affected Resource(s)
azurerm_kubernetes_cluster
azurerm_application_gateway
Terraform Configuration Files
The deployment of AKS clusters & Application Gateways and their respective resources, such as: Subnets, NSGs, Public IPs and etc, works fine the first time. However, if terraform plan is executed right afterwards, instead of reporting that no changes in the infrastructure were detected, it reports that nearly all the resources should be destroyed and re-created.
Debug Output
Panic Output
Expected Behavior
Once all the resources were deployed with Terraform successfully and nothing was changed afterwards, in the subsequent executions of terraform plan, the following output is expected: Your infrastructure is up-to-date.
Steps to Reproduce
terraform apply
terraform plan
Important Factoids
Issue only happens in Azure China. We are using the very same script / logic in Azure global and in there it works as expected.
References
0000