Skip to content

Commit

Permalink
Fix 409 OperationNotAllowed error when creating nodepools
Browse files Browse the repository at this point in the history
"Operation is not allowed: Another operation (Updating) is in progress, please wait for it to finish before starting a new operation. See https://aka.ms/aks-pending-operation for more details"
  • Loading branch information
zioproto authored and nellyk committed Mar 28, 2024
1 parent 3c0cb80 commit dc363a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ resource "azurerm_kubernetes_cluster_node_pool" "this" {
tags = var.tags
vnet_subnet_id = module.vnet.vnet_subnets_name_id["nodecidr"]
zones = each.value.zone == "" ? null : [each.value.zone]

depends_on = [azapi_update_resource.aks_cluster_post_create]
}


Expand Down

0 comments on commit dc363a9

Please sign in to comment.