diff --git a/quickstart/201-k8s-cluster-with-aks-applicationgateway-ingress/main.tf b/quickstart/201-k8s-cluster-with-aks-applicationgateway-ingress/main.tf index a891f1f1..8159a8f9 100644 --- a/quickstart/201-k8s-cluster-with-aks-applicationgateway-ingress/main.tf +++ b/quickstart/201-k8s-cluster-with-aks-applicationgateway-ingress/main.tf @@ -166,6 +166,8 @@ resource "azurerm_kubernetes_cluster" "k8s" { resource_group_name = data.azurerm_resource_group.rg.name + http_application_routing_enabled = false + linux_profile { admin_username = var.vm_user_name @@ -174,12 +176,6 @@ resource "azurerm_kubernetes_cluster" "k8s" { } } - addon_profile { - http_application_routing { - enabled = false - } - } - default_node_pool { name = "agentpool" node_count = var.aks_agent_count