Moving a Custom Software Source to Another Compartment
Move a custom or versioned custom software source to another compartment in OS Management Hub. This can help restrict access to resources by placing them in a specific compartment.
Want to move a vendor software source? Vendor software sources always reside in the root compartment and can't be moved. Instead, you can replicate a vendor software source to another compartment.
For best practices when moving compartments, see Compartment Considerations.
- Open the navigation menu and click Observability & Management. Under OS Management Hub, click Software sources.
- Under List scope, select the compartment that contains the software source you're interested in.
- Click the name of the custom software source.
- Click Move resource.
- Select the Destination compartment to move the software source to.
- Click Move resource.
Use the oci os-management-hub software-source change-compartment command and required parameters to move the custom software source to another compartment with the same tenancy.
oci os-management-hub software-source change-compartment --software-source-id ocid --compartment-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeSoftwareSourceCompartment operation to move the custom software source to another compartment within the same tenancy.