Skip to content

Latest commit

 

History

History
116 lines (90 loc) · 2.09 KB

File metadata and controls

116 lines (90 loc) · 2.09 KB

google_data_catalog_taxonomy_iam_policy

back

Index

Terraform

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

top

Example Usage

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

  # 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
  # taxonomy - (required) is a type of string
  taxonomy = null
}

top

Variables

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

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

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

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

top

Resource

resource "google_data_catalog_taxonomy_iam_policy" "this" {
  # 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
  # taxonomy - (required) is a type of string
  taxonomy = var.taxonomy
}

top

Outputs

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

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

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

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

output "this" {
  value = google_data_catalog_taxonomy_iam_policy.this
}

top