Attaching a DRG to a VCN in a Different Tenancy
Learn to attach a Dynamic Routing Gateway (DRG) to a VCN in another tenancy .
The VCN you are connecting to must be in the same OCI region. Before you can create a cross-tenancy attachment, you must implement the IAM policies described in Attaching to VCNs in Other Tenancies. Attaching a VCN in another tenancy requires knowing the OCID of the VCN, but otherwise isn't very different from attaching a VCN in the same tenancy.
Use the network drg-attachment create command and required parameters to attach a VCN in another tenancy to a DRG:
oci network drg-attachment create --drg-id drg-ocid --network-details [complex type] ...[OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateDrgAttachment operation to create a DRG attachment to a VCN in another tenancy.