Error in network_profile
validation when creating/updating an aks cluster
#4108
Milestone
network_profile
validation when creating/updating an aks cluster
#4108
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_kubernetes_cluster.aks.network_profile
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
According to the documentation available today 2019-08-16 (https://www.terraform.io/docs/providers/azurerm/r/kubernetes_cluster.html#network_profile)
pod_cidr
should not be used withnetwork_plugin = "azure"
, it should fails validation when applying.Actual Behavior
This attribute is ignored for the first apply, and since it's absent from the state, it triggers a cluster re-creation for nothing.
Steps to Reproduce
terraform apply
(works, should not)terraform apply
(attempt to re-create the aks cluster, should not)Important Factoids
References
The text was updated successfully, but these errors were encountered: