Skip to content

Latest commit

 

History

History
116 lines (90 loc) · 2.07 KB

File metadata and controls

116 lines (90 loc) · 2.07 KB

google_cloud_run_service_iam_policy

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

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

top

Resource

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

top

Outputs

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

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

output "location" {
  description = "returns a string"
  value       = google_cloud_run_service_iam_policy.this.location
}

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

output "this" {
  value = google_cloud_run_service_iam_policy.this
}

top