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 1a75a27 commit a99142b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpc-transit-gateway-association/routing.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ resource "aws_route" "gateway_ipv4" {
destination_prefix_list_id = one([for k, v in data.aws_ec2_managed_prefix_list.tgw_ipv4 : k if v.address_family == "IPv4"])
transit_gateway_id = data.aws_ec2_transit_gateway.gateway_self.id

depends_on = var.transit_gateway_routing_type == "self" ? [aws_ec2_transit_gateway_vpc_attachment.vpc_attachment] : []
depends_on = [aws_ec2_transit_gateway_vpc_attachment.vpc_attachment]
}

0 comments on commit a99142b

Please sign in to comment.