Skip to content

Commit

Permalink
stabilize node pools on updates
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jan 5, 2024
1 parent 3a284ec commit 5884034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/clouds/azure/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 5884034

Please sign in to comment.