diff --git a/routing/main.tf b/routing/main.tf index 45f266e..563d111 100644 --- a/routing/main.tf +++ b/routing/main.tf @@ -111,7 +111,7 @@ resource "aws_internet_gateway" "gateway" { # assume only 1 public subnet block (per AZ) # should figure out the first one locals { - public_subnet_ids_az = { for subnet in var.public_subnets_ids : subnet.availability_zone => subnet } + public_subnets_ids_az = { for subnet in var.public_subnets_ids : subnet.availability_zone => subnet } } resource "aws_nat_gateway" "nat" {