Getting a Job Terraform Configuration
Download the Terraform configuration (
.zip file) for a job in Resource Manager.
As an alternative to these steps, edit the generated Terraform configuration file in Code Editor. For more information, see Editing Configurations Using Code Editor.
Open the navigation menu and click Developer Services. Under Resource Manager, click Jobs.
You can also access jobs from a stack detail page. Click Stacks and then click the name of the stack you want.
- Choose a compartment that you have permission to work in (on the left side of the page).
Click the name of the job that you want.
The Job details page opens.
- Click Download Terraform configuration.
- Open the navigation menu and click Developer Services. Under Resource Manager, click Jobs.
oci resource-manager job get-job-tf-configcommand and required parameters to get a job's Terraform configuration file.
oci resource-manager stack get-job-tf-config [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.
Use the GetJobTfConfig operation to get a job's Terraform configuration file.