Skip to content

Latest commit

 

History

History
111 lines (84 loc) · 2.16 KB

File metadata and controls

111 lines (84 loc) · 2.16 KB

google_project_organization_policy

back

Index

Terraform

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

top

Example Usage

module "google_project_organization_policy" {
  source = "./modules/google-beta/d/google_project_organization_policy"

  # constraint - (required) is a type of string
  constraint = null
  # project - (required) is a type of string
  project = null
}

top

Variables

variable "constraint" {
  description = "(required) - The name of the Constraint the Policy is configuring, for example, serviceuser.services."
  type        = string
}

variable "project" {
  description = "(required) - The project ID."
  type        = string
}

top

Datasource

data "google_project_organization_policy" "this" {
  # constraint - (required) is a type of string
  constraint = var.constraint
  # project - (required) is a type of string
  project = var.project
}

top

Outputs

output "boolean_policy" {
  description = "returns a list of object"
  value       = data.google_project_organization_policy.this.boolean_policy
}

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

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

output "list_policy" {
  description = "returns a list of object"
  value       = data.google_project_organization_policy.this.list_policy
}

output "restore_policy" {
  description = "returns a list of object"
  value       = data.google_project_organization_policy.this.restore_policy
}

output "update_time" {
  description = "returns a string"
  value       = data.google_project_organization_policy.this.update_time
}

output "version" {
  description = "returns a number"
  value       = data.google_project_organization_policy.this.version
}

output "this" {
  value = google_project_organization_policy.this
}

top