Moving a Private Template
Move a private template in Resource Manager to another compartment.
- Open the navigation menu and click Developer Services. Under Resource Manager, click Private Templates.
- On the Private templates page, select the compartment that contains the private template that you want.
- Click the name of the private template that you want.
- On the Template information page, click Move resource.
- In the Move resource dialog box, choose the destination compartment from the list.
- Click Move resource.
Use the oci resource-manager template change-compartment command and required parameters to move a private template to another compartment:
oci resource-manager template change-compartment --template-id <template_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.
Run the ChangeTemplateCompartment operation to move a private template.