back
terraform {
required_providers {
tfe = ">= 0.24.0"
}
}
top
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
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 "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
output "id" {
description = "returns a string"
value = tfe_policy_set_parameter.this.id
}
output "this" {
value = tfe_policy_set_parameter.this
}
top