Skip to content

Latest commit

 

History

History
151 lines (121 loc) · 2.98 KB

File metadata and controls

151 lines (121 loc) · 2.98 KB

google_dataflow_flex_template_job

back

Index

Terraform

terraform {
  required_providers {
    google-beta = ">= 3.63.0"
  }
}

top

Example Usage

module "google_dataflow_flex_template_job" {
  source = "./modules/google-beta/r/google_dataflow_flex_template_job"

  # container_spec_gcs_path - (required) is a type of string
  container_spec_gcs_path = null
  # labels - (optional) is a type of map of string
  labels = {}
  # name - (required) is a type of string
  name = null
  # on_delete - (optional) is a type of string
  on_delete = null
  # parameters - (optional) is a type of map of string
  parameters = {}
  # project - (optional) is a type of string
  project = null
  # region - (optional) is a type of string
  region = null
}

top

Variables

variable "container_spec_gcs_path" {
  description = "(required)"
  type        = string
}

variable "labels" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

variable "name" {
  description = "(required)"
  type        = string
}

variable "on_delete" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "parameters" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

variable "project" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "region" {
  description = "(optional) - The region in which the created job should run."
  type        = string
  default     = null
}

top

Resource

resource "google_dataflow_flex_template_job" "this" {
  # container_spec_gcs_path - (required) is a type of string
  container_spec_gcs_path = var.container_spec_gcs_path
  # labels - (optional) is a type of map of string
  labels = var.labels
  # name - (required) is a type of string
  name = var.name
  # on_delete - (optional) is a type of string
  on_delete = var.on_delete
  # parameters - (optional) is a type of map of string
  parameters = var.parameters
  # project - (optional) is a type of string
  project = var.project
  # region - (optional) is a type of string
  region = var.region
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = google_dataflow_flex_template_job.this.id
}

output "job_id" {
  description = "returns a string"
  value       = google_dataflow_flex_template_job.this.job_id
}

output "project" {
  description = "returns a string"
  value       = google_dataflow_flex_template_job.this.project
}

output "region" {
  description = "returns a string"
  value       = google_dataflow_flex_template_job.this.region
}

output "state" {
  description = "returns a string"
  value       = google_dataflow_flex_template_job.this.state
}

output "this" {
  value = google_dataflow_flex_template_job.this
}

top