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.

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Software sources.
    2. Under List scope, select the compartment that contains the software source you're interested in.
    3. Click the name of the custom software source.
    4. Click Move resource.
    5. Select the Destination compartment to move the software source to.
    6. 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.