From 68ee7ddb3b0cde4540bc08e69e76b263e9cb977a Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Tue, 26 Nov 2024 08:04:47 +0100 Subject: [PATCH] caa: unique prefix for node resource group --- infra/azure-peerpods/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/azure-peerpods/main.tf b/infra/azure-peerpods/main.tf index 2a477a254..19d31e390 100644 --- a/infra/azure-peerpods/main.tf +++ b/infra/azure-peerpods/main.tf @@ -45,7 +45,7 @@ resource "azurerm_virtual_network" "main" { resource "azurerm_kubernetes_cluster" "cluster" { name = "${local.name}_aks" resource_group_name = data.azurerm_resource_group.rg.name - node_resource_group = "${var.resource_group}_aks_node_rg" + node_resource_group = "${local.name}_aks_node_rg" location = data.azurerm_resource_group.rg.location dns_prefix = "aks" oidc_issuer_enabled = true