From 8b536b44ef1f66059cf6b6b7819305d71a12d724 Mon Sep 17 00:00:00 2001 From: Tom Archer Date: Wed, 2 Mar 2022 20:30:18 -0800 Subject: [PATCH] Updated deprecated code --- .../main.tf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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