Moving a Stack

Move a stack in Resource Manager to another compartment.

    1. On the Stacks list page, select the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
    2. Go to More actions and then select Move resource.
    3. In the Move resource dialog box, select the compartment that you want to move the stack to.
    4. Select 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.