Moving a Stack
Move a stack in Resource Manager to another compartment.
- Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
- On the Stacks page, select the compartment that contains the stack that you want.
- Click the name of the stack that you want.
- On the Stack details page, 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.
- 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.