Getting the Terraform Output for a Plan Job
Download the output of a plan job in Resource Manager.
Use the
oci resource-manager job get-job-tf-plan
command and required parameters to get the output of a plan job.oci resource-manager stack get-job-tf-plan [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.
Example RequestExample to get the output of a plan job in JSON format:
oci resource-manager job get-job-tf-plan --job-id ocid1.ormjob.oc1.phx.<uniqueid> --file tfplan.json --tf-plan-format JSON
Use the GetJobTfPlan operation to get the output of a plan job.