Skip to content

Commit 38ae72d

Browse files
Vinaum8lonegunmanb
authored andcommitted
Update automatic_channel_upgrade description for clarity and detail
1 parent d47de63 commit 38ae72d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

variables.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,15 @@ variable "auto_scaler_profile_skip_nodes_with_system_pods" {
346346
variable "automatic_channel_upgrade" {
347347
type = string
348348
default = null
349-
description = "(Optional) The upgrade channel for this Kubernetes Cluster. Possible values are `patch`, `rapid`, `node-image` and `stable`. By default automatic-upgrades are turned off. Note that you cannot specify the patch version using `kubernetes_version` or `orchestrator_version` when using the `patch` upgrade channel. See [the documentation](https://learn.microsoft.com/en-us/azure/aks/auto-upgrade-cluster) for more information"
349+
description = <<-EOT
350+
(Optional) Defines the automatic upgrade channel for the AKS cluster.
351+
Possible values:
352+
* `"patch"`: Automatically upgrades to the latest patch version within the specified minor version in `kubernetes_version`. **If using "patch", `kubernetes_version` must be set only up to the minor version (e.g., "1.29").**
353+
* `"stable"`, `"rapid"`, `"node-image"`: Automatically upgrade without requiring `kubernetes_version`. **If using one of these values, both `kubernetes_version` and `orchestrator_version` must be `null`.**
354+
355+
By default, automatic upgrades are disabled.
356+
More information: https://learn.microsoft.com/en-us/azure/aks/auto-upgrade-cluster
357+
EOT
350358

351359
validation {
352360
condition = var.automatic_channel_upgrade == null ? true : contains([

0 commit comments

Comments
 (0)