Moving a Software Source to Another Compartment

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

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. In the Actions menu on the source details page, select Move resource.
      Tip

      You can also perform this action from the list page, using the row's Actions menu (Actions icon).

    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.