Skip to content

Latest commit

 

History

History
101 lines (78 loc) · 1.6 KB

tfe_policy_set_parameter.md

File metadata and controls

101 lines (78 loc) · 1.6 KB

tfe_policy_set_parameter

back

Index

Terraform

terraform {
  required_providers {
    tfe = ">= 0.24.0"
  }
}

top

Example Usage

module "tfe_policy_set_parameter" {
  source = "./modules/tfe/r/tfe_policy_set_parameter"

  # key - (required) is a type of string
  key = null
  # policy_set_id - (required) is a type of string
  policy_set_id = null
  # sensitive - (optional) is a type of bool
  sensitive = null
  # value - (optional) is a type of string
  value = null
}

top

Variables

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

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

variable "sensitive" {
  description = "(optional)"
  type        = bool
  default     = null
}

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

top

Resource

resource "tfe_policy_set_parameter" "this" {
  # key - (required) is a type of string
  key = var.key
  # policy_set_id - (required) is a type of string
  policy_set_id = var.policy_set_id
  # sensitive - (optional) is a type of bool
  sensitive = var.sensitive
  # value - (optional) is a type of string
  value = var.value
}

top

Outputs

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

output "this" {
  value = tfe_policy_set_parameter.this
}

top