Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 14, 2022
1 parent a99142b commit 3b61919
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vpc-transit-gateway-association/routing.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ data "aws_ec2_managed_prefix_list" "tgw_ipv4" {

# pick the first prefix list found, either NAME or NAME.ipv4
resource "aws_route" "gateway_ipv4" {
count = var.transit_gateway_routing_type == "self" ? 1 : 0
for_each = var.transit_gateway_routing_type == "self" ? module.routing_attachment_ipv4[0].private_route_table_ids : {}

route_table_id = each.value
Expand Down

0 comments on commit 3b61919

Please sign in to comment.