Closed mauriciodou closed 3 years ago
Hi @mauriciodou, thanks for raising this issue. Since this was re-raised in #13919 where there is an ongoing discussion I am going to close this issue. Please subscribe to #13919 for updates.
Thanks!
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_kubernetes_cluster_node_pool
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
Terraform should not be recreating the node pool or provide a migration for the changed id.
Actual Behaviour
The state has: kubernetes_cluster_id = "/subscriptions/xxx/resourcegroups/rg6744galactusk8dev/providers/Microsoft.ContainerService/managedClusters/galactus-cluster-dev-aks"
But has changed to: kubernetes_cluster_id = "/subscriptions/xxx/resourceGroups/rg6744galactusk8dev/providers/Microsoft.ContainerService/managedClusters/galactus-cluster-dev-aks"
Note the resourcegroups -> resourceGroups change. Perhaps this was updated in a version?
Steps to Reproduce
terraform plan
Important Factoids
References
0000