Moving a Stack
Move a stack in Resource Manager to another compartment.
- 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.
- Go to More actions and then select Move resource.
- In the Move resource dialog box, select the compartment that you want to move the stack to.
- 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.