Skip to main content

job_tf_plans

Creates, updates, deletes, gets or lists a job_tf_plans resource.

Overview​

Namejob_tf_plans
TypeResource
Idoci.resource_manager.job_tf_plans

Fields​

The following fields are returned by SELECT queries:

Successfully returned output of the plan job.

NameDatatypeDescription

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectjobId, regionopc-request-id, tfPlanFormatReturns the output of the specified Terraform plan job in binary or JSON format.<br />For more information, see<br />[Getting the Terraform Output for a Plan Job](/iaas/Content/ResourceManager/Tasks/get-job-tf-plan.htm).<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
jobIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the job.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
tfPlanFormatstringThe output format of the Terraform plan.

SELECT examples​

Returns the output of the specified Terraform plan job in binary or JSON format.<br />For more information, see<br />[Getting the Terraform Output for a Plan Job](/iaas/Content/ResourceManager/Tasks/get-job-tf-plan.htm).<br />

SELECT
*
FROM oci.resource_manager.job_tf_plans
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND tfPlanFormat = '{{ tfPlanFormat }}'
;