Skip to content

Commit

Permalink
chore: Add VPC route to example
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Dec 27, 2024
1 parent 0f882d2 commit 9345a7c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ module "transit_gateway_route_table" {
}
}

vpc_routes = {
vpc1 = {
destination_cidr_block = module.vpc2.vpc_cidr_block
route_table_id = element(module.vpc1.private_route_table_ids, 0)
}
vpc2 = {
destination_cidr_block = module.vpc1.vpc_cidr_block
route_table_id = element(module.vpc2.private_route_table_ids, 0)
}
}

tags = local.tags
}

Expand Down

0 comments on commit 9345a7c

Please sign in to comment.