Closed jleiser524 closed 1 year ago
Thanks @jleiser524, seeing the same issue - this is a (really nasty) bug. that leaves clusters wedged.
This functionality has been released in v3.52.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.4.4
AzureRM Provider Version
3.51.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Default node group should retain the
enable_host_encryption
value astrue
Actual Behaviour
Default node group
enable_host_encryption
is changed tofalse
, which prevents any further update to the cluster without replacing it unless you changeenable_host_encryption
tofalse
in your Terraform configuration.Steps to Reproduce
terraform apply
to create clustervm_size
for thedefault_node_pool
- I usedStandard_D2s_v4
terraform apply
terraform plan
Plan will report cluster needs to be replaced due to the configuration having
enable_host_encryption
totrue
. The node pool appears to lose theenable_host_encryption
setting when it is rotated due to thevm_size
changeImportant Factoids
Not sure if this is in azurerm itself or the provider. Could not find this anywhere else.
References
No response