Welcome to the next episode of thinking out loud to route in the cloud with style.
Earlier this season we abstracted a TGW Centralized Router.
Part of it’s responsibility is to manage routes between Tiered VPCs within a single region.
It will create routes to other VPC networks in private and public route tables for each VPC (except itself).
locals { # { vpc-1-network => [ "vpc-1-private-rtb-id-1", "vpc-1-public-rtb-id-1", … ], . Source