Skip to content

Latest commit

 

History

History
116 lines (90 loc) · 2 KB

File metadata and controls

116 lines (90 loc) · 2 KB

google_dataproc_job_iam_policy

back

Index

Terraform

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

top

Example Usage

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

  # job_id - (required) is a type of string
  job_id = null
  # policy_data - (required) is a type of string
  policy_data = null
  # project - (optional) is a type of string
  project = null
  # region - (optional) is a type of string
  region = null
}

top

Variables

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

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

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

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

top

Resource

resource "google_dataproc_job_iam_policy" "this" {
  # job_id - (required) is a type of string
  job_id = var.job_id
  # policy_data - (required) is a type of string
  policy_data = var.policy_data
  # project - (optional) is a type of string
  project = var.project
  # region - (optional) is a type of string
  region = var.region
}

top

Outputs

output "etag" {
  description = "returns a string"
  value       = google_dataproc_job_iam_policy.this.etag
}

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

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

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

output "this" {
  value = google_dataproc_job_iam_policy.this
}

top