Skip to content

Commit c21cfe7

Browse files
lonegunmanbCopilot
andcommitted
fix: resolve idempotency drift in multiple_node_pools and appgw examples
- Add oidc_issuer_enabled = true to multiple_node_pools example to match Azure AKS API default behavior (same fix as named_cluster) - Add actions to appgw subnet delegation to match Azure API response for Microsoft.Network/applicationGateways delegation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9b99a99 commit c21cfe7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

examples/application_gateway_ingress/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ resource "azurerm_subnet" "appgw" {
6363
name = "appgw-delegation"
6464

6565
service_delegation {
66-
name = "Microsoft.Network/applicationGateways"
66+
name = "Microsoft.Network/applicationGateways"
67+
actions = ["Microsoft.Network/virtualNetworks/subnets/join/action"]
6768
}
6869
}
6970
}

examples/multiple_node_pools/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ module "aks" {
7676
location = local.resource_group.location
7777
os_disk_size_gb = 60
7878
sku_tier = "Standard"
79+
oidc_issuer_enabled = true
7980
private_cluster_enabled = false
8081
vnet_subnet = {
8182
id = azurerm_subnet.default_node_pool_subnet.id

0 commit comments

Comments
 (0)