1 Answer
- Newest
- Most votes
- Most comments
3
The point of propagating routes from a VPC to a TGW route table is that all the CIDRs configured for the attached VPCs would become known to and reachable from the TGW route table. When your requirement seems to be effectively the exact opposite, manually choosing a single CIDR for each VPC to be reachable from other networks attached to the TGW, I would think the simplest solution would be to disable the automated route propagation and configure a route manually for each VPC's preferred CIDR in the TGW route table.
Disabling route propagation: https://docs.aws.amazon.com/vpc/latest/tgw/disable-tgw-route-propagation.html
Adding the preferred routes manually: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-create-static-route.html
Relevant content
- asked 7 months ago
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago