I am trying to add terraform for azure automatic upgrade channel. when I try with automatic_channel_upgrade = "patch" with string It is working fine. But when i want to use multiple attributes like automatic_channel_upgrade = ["patch","node-image"] with list I am having Inappropriate value for attribute "automatic_channel_upgrade": string required. Is there any way to issue multiple parameters.
resource "azurerm_kubernetes_cluster" "private_aks" {
name = var.private_aks_name
automatic_channel_upgrade = var.automatic_channel_upgrade
}
variable "automatic_channel_upgrade" {
type = list(string)
default = ["patch","node-image"]
}