Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.43 KB

File metadata and controls

86 lines (64 loc) · 1.43 KB

google_service_account_iam_policy

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

top

Resource

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

top

Outputs

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

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

output "this" {
  value = google_service_account_iam_policy.this
}

top