The enclosed pair of examples shows how to create Remote Peering connections (RPCs) across regions using the OCI Landing Zone Core Networking module.
It creates two DRGs, one in the region specified in ./rpc_acceptor/input.auto.tfvars.template and another in the region specified in ./rpc_requestor/input.auto.tfvars.template. Each DRG is attached an RPC (Remote Peering Connection). The RPCs are then peered.
- Replace the placeholders marked with <> with appropriate values in ./rpc_acceptor/input.auto.tfvars.template. Rename the file to ./rpc_acceptor/input.auto.tfvars.
- Execute terraform init/plan/apply in ./rpc-acceptor folder.
- Replace the placeholders marked with <> with appropriate values in ./rpc_requestor/input.auto.tfvars.template. Rename the file to ./rpc_requestor/input.auto.tfvars.
- Execute terraform init/plan/apply in ./rpc-requestor folder.