From c657829d01a2c18635d83d4cdeb917f69866f0ba Mon Sep 17 00:00:00 2001 From: Simon Kurtz Date: Thu, 5 Dec 2024 15:06:13 -0600 Subject: [PATCH] Match name to bicep --- scenarios/aca-internal/terraform/modules/02-spoke/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenarios/aca-internal/terraform/modules/02-spoke/main.tf b/scenarios/aca-internal/terraform/modules/02-spoke/main.tf index c13965b0..0afd4d6d 100644 --- a/scenarios/aca-internal/terraform/modules/02-spoke/main.tf +++ b/scenarios/aca-internal/terraform/modules/02-spoke/main.tf @@ -196,8 +196,8 @@ module "routeTable" { nextHopType = "VirtualAppliance" nextHopIpAddress = var.firewallPrivateIp }, - var.routeSpokeTrafficInternally ? [for prefix in var.vnetAddressPrefixes : { - name = "intTraffic-${prefix}" + var.routeSpokeTrafficInternally ? [for i, prefix in var.vnetAddressPrefixes : { + name = "spokeInternalTraffic-${i}" addressPrefix = prefix nextHopType = "VnetLocal" }] : []