This example deploys a multiple foundation VPC networks with support for peering between the networks. The way it works is that it will retrieve all the route tables in the vpc and will add the routes to the peering using a for each loop.

Architecture Diagram


Modules used