Moving a Stack

Move a stack in Resource Manager to another compartment.

    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
    2. On the Stacks page, select the compartment that contains the stack that you want.
    3. Click the name of the stack that you want.
    4. On the Stack details page, go to More actions and then select Move resource.
    5. In the Move resource dialog box, select the compartment that you want to move the stack to.
    6. Click Move resource.
  • Use the oci resource-manager stack change-compartment command and required parameters to move a stack to another compartment.

    oci resource-manager stack change-compartment --stack-id <stack_OCID> --compartment-id <destination_compartment_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.

  • Use the ChangeStackCompartment operation to move a stack to another compartment.