Moving a Software Source to Another Compartment

Move a custom, versioned, third-party, or private software source to another compartment in OS Management Hub. This can help restrict access to resources by placing them in a specific compartment.

Tip

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.

  • Move resource

    1. On the sources details page, select Move resource.
    2. Select the Destination compartment to move the software source to.
    3. Select 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.