Skip to content

Latest commit

 

History

History
101 lines (77 loc) · 1.73 KB

File metadata and controls

101 lines (77 loc) · 1.73 KB

google_bigquery_dataset_iam_policy

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

top

Resource

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

top

Outputs

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

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

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

output "this" {
  value = google_bigquery_dataset_iam_policy.this
}

top