Moving a VCN Route Table to a Different Compartment
Move a Virtual Cloud Network (VCN) route table to a different compartment.
- Open the navigation menu, click Networking, and then click Virtual cloud networks.
- Click the name of the VCN you're interested in.
- Under Resources, click Route Tables.
- Find the route table in the list, click the the to the right side of it, and then select Move resource.
- Select the destination compartment from the list.
- Click Move Resource.
Use the network route-table change-compartment command and required parameters to move a VCN route table to a different compartment:
oci network route-table change-compartment --compartment-id destination-ocid --rt-id routetable-ocid ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ChangeRouteTableCompartment operation to move a VCN route table to a different compartment.