Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.35 KB

File metadata and controls

86 lines (64 loc) · 1.35 KB

google_storage_bucket_iam_policy

back

Index

Terraform

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

top

Example Usage

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

  # bucket - (required) is a type of string
  bucket = null
  # policy_data - (required) is a type of string
  policy_data = null
}

top

Variables

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

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

top

Resource

resource "google_storage_bucket_iam_policy" "this" {
  # bucket - (required) is a type of string
  bucket = var.bucket
  # policy_data - (required) is a type of string
  policy_data = var.policy_data
}

top

Outputs

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

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

output "this" {
  value = google_storage_bucket_iam_policy.this
}

top