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" }] : []