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 committed Mar 28, 2024
1 parent bbaa9dd commit 09c07f6
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 @@ -225,6 +225,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 09c07f6

Please sign in to comment.