From 09c07f6e7fa78f14c82ca1ab2daa00a6a78a3444 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Thu, 14 Mar 2024 14:05:17 +0100 Subject: [PATCH] Fix 409 OperationNotAllowed error when creating nodepools "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" --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 059b2ab4..242a2d70 100644 --- a/main.tf +++ b/main.tf @@ -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] }