Google BigQuery Job

This page shows how to write Terraform for BigQuery Job and write them securely.

google_bigquery_job (Terraform)

The Job in BigQuery can be configured in Terraform with the resource name google_bigquery_job. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • id optionalcomputed - string
  • job_id required - string
    • The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.

  • job_timeout_ms optional - string
    • Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job.

  • job_type requiredcomputed - string
    • The type of the job.

  • labels optional - map / string
    • The labels associated with this job. You can use these to organize and group your jobs.

  • location optional - string
    • The geographic location of the job. The default value is US.

  • project optionalcomputed - string
  • status requiredcomputed - list / object
    • The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.

  • user_email requiredcomputed - string
    • Email address of the user who ran the job.

Explanation in Terraform Registry

Jobs are actions that BigQuery runs on your behalf to load data, export data, query data, or copy data. Once a BigQuery job is created, it cannot be changed or deleted. To get more information about Job, see:

Frequently asked questions

What is Google BigQuery Job?

Google BigQuery Job is a resource for BigQuery of Google Cloud Platform. Settings can be wrote in Terraform.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.