Updated deprecated code

This commit is contained in:
Tom Archer 2022-03-02 20:30:18 -08:00
parent 3c2d766490
commit 8b536b44ef

View File

@ -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