Moving an RPC to a Different Compartment
Move a remote peering connection (RPC) to a different compartment within the same tenancy.
You can move an RPC from one compartment to another. When you move an RPC to a new compartment, policies applied to that compartment apply immediately to the RPC.
For more information about using compartments and policies to control access to a cloud network, see Access Control. For general information about compartments, see Managing Compartments.
This task can't be performed using the Console.
Use the network remote-peering-connection change-compartment command and required parameters to move an RPC to a different compartment within the same tenancy:
oci network remote-peering-connection change-compartment --compartment-id target-compartment-ocid --remote-peering-connection-id rpc-ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeRemotePeeringConnectionCompartment operation to move an RPC to a different compartment within the same tenancy.