Moving a Private Template
Move a private template in Resource Manager to another compartment.
- On the Private templates list page, select the private template that you want to work with. If you need help finding the list page or the private template, see Listing Private Templates.
- On the private template's details page, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select 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.