The enclosed pair of examples shows how to create and peer Local Peering Gateways (LPGs) within a region using the OCI Landing Zone Core Networking module.
It creates two VCNs. Within each VCN a Local Peering Gateway (LPG) is created. The LPGs are then peered.
- Replace the placeholders marked with <> with appropriate values in ./lpg_acceptor/input.auto.tfvars.template. Rename the file to ./lpg_acceptor/input.auto.tfvars.
- Execute terraform init/plan/apply in ./lpg-acceptor folder.
- Replace the placeholders marked with <> with appropriate values in ./lpg_requestor/input.auto.tfvars.template. Rename the file to ./lpg_requestor/input.auto.tfvars.
- Execute terraform init/plan/apply in ./lpg-requestor folder.