Getting a Private Template's Terraform Configuration
Get the Terraform configuration for a private template in Resource Manager.
- 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.
- Next to Terraform configuration, select Download.
Use the oci resource-manager template get-template-tf-config command and required parameters to get the Terraform configuration for a private template:
oci resource-manager template get-template-tf-config --template-id <template_OCID> --file <file_name>
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Run the GetTemplateTfConfig operation to get the Terraform configuration for a private template.