Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 17, 2022
1 parent 94b6baa commit b9c4335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpc-transit-gateway-association/associate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "aws_ec2_transit_gateway_vpc_attachment" "vpc_attachment" {
count = var.transit_gateway_routing_type == "self" ? 1 : 0
# subnet_ids = [for sn in module.subnets.private_subnets_ids : sn.id if lookup(sn.tags, "boc:vpc:route-table", null) == "attachment"]
subnet_ids = [for k, v in var.private_subnets_ids : k]
subnet_ids = [for k, v in var.private_subnets_ids : v.id]
transit_gateway_id = data.aws_ec2_transit_gateway.gateway_self.id
vpc_id = var.vpc_id
dns_support = "enable"
Expand Down

0 comments on commit b9c4335

Please sign in to comment.