From 588403473b8f537d5fda6e080cc31f1cf638a32a Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Fri, 5 Jan 2024 14:21:00 -0500 Subject: [PATCH] stabilize node pools on updates --- terraform/clouds/azure/aks.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/clouds/azure/aks.tf b/terraform/clouds/azure/aks.tf index 933bc4e..8e813ca 100644 --- a/terraform/clouds/azure/aks.tf +++ b/terraform/clouds/azure/aks.tf @@ -10,7 +10,7 @@ module "aks" { sku_tier = "Standard" rbac_aad = false vnet_subnet_id = azurerm_subnet.network.id - node_pools = {for name, pool in var.node_pools : name => merge({name = name}, pool)} + node_pools = {for name, pool in var.node_pools : name => merge(pool, {name = name, vnet_subnet_id = azurerm_subnet.network.id})} role_based_access_control_enabled = true } \ No newline at end of file