You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform will perform the following actions:
# module.kubernetes.module.aks.azurerm_kubernetes_cluster.main must be replaced~ default_node_pool {
~ upgrade_settings {
- drain_timeout_in_minutes = 30 -> null # forces replacement
- node_soak_duration_in_minutes = 0 -> null
# (1 unchanged attribute hidden)
}
}
Plan: 4 to add, 0 to change, 4 to destroy.
Expected Behaviour
The Azure AKS module should allow for the drain_timeout_in_minutes attribute to be configured in the Terraform code, allowing users to specify a custom value or use the default Azure value of 30 minutes for AKS cluster upgrades.
Actual Behaviour
Currently, the Azure AKS module does not provide a way to configure the drain_timeout_in_minutes attribute, which is now required by the Azure API when upgrading AKS clusters. This causes Terraform to fail when attempting to apply changes , as the drain_timeout_in_minutes attribute is missing.
Steps to Reproduce
Use the latest version of the azurerm provider (3.107.0).
Use the Azure AKS module (version 9.0.0).
Attempt to upgrade an AKS cluster using Terraform without specifying the drain_timeout_in_minutes attribute.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.3.5
Module Version
9.0.0
AzureRM Provider Version
3.107.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
tfvars variables values
Debug Output/Panic Output
Expected Behaviour
The Azure AKS module should allow for the drain_timeout_in_minutes attribute to be configured in the Terraform code, allowing users to specify a custom value or use the default Azure value of 30 minutes for AKS cluster upgrades.
Actual Behaviour
Currently, the Azure AKS module does not provide a way to configure the drain_timeout_in_minutes attribute, which is now required by the Azure API when upgrading AKS clusters. This causes Terraform to fail when attempting to apply changes , as the drain_timeout_in_minutes attribute is missing.
Steps to Reproduce
Use the latest version of the azurerm provider (3.107.0).
Use the Azure AKS module (version 9.0.0).
Attempt to upgrade an AKS cluster using Terraform without specifying the drain_timeout_in_minutes attribute.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: