From 9db38e1e1840747cb17d90b3c7288524c025d69c Mon Sep 17 00:00:00 2001 From: Bob Sutterfield Date: Sat, 21 Sep 2024 01:09:10 -0700 Subject: [PATCH] Example FullAZ: clean up names, add deployment examples (#35) * map key typo * clean up names, add deployment examples --- examples/allazs/main.tf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/allazs/main.tf b/examples/allazs/main.tf index bdf9c98..99309e9 100644 --- a/examples/allazs/main.tf +++ b/examples/allazs/main.tf @@ -17,16 +17,20 @@ module "fck-nat" { source = "../../" for_each = toset(data.aws_availability_zones.azs.zone_ids) - name = "${local.name}-nat-${each.key}" + name = "${local.name}-${each.key}" vpc_id = aws_vpc.main.id subnet_id = aws_subnet.public[each.key].id + # ha_mode = true + # use_cloudwatch_agent = true + # use_spot_instances = true + # instance_type = "t4g.nano" update_route_tables = true route_tables_ids = { - "private" = aws_route_table.private[each.key].id + private = aws_route_table.private[each.key].id } tags = { - Name = "${local.name}-fck-nat-${each.key}" + Name = "${local.name}-${each.key}" } }