AKS - default_node_group
loses enable_host_encryption
value when changing vm_size
#21358
Closed
1 task done
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
The text was updated successfully, but these errors were encountered: