dustindortch / terraform-tfe-variable-set

Repository from Github https://github.comdustindortch/terraform-tfe-variable-setRepository from Github https://github.comdustindortch/terraform-tfe-variable-set

terraform-tfe-variable-set

Creates a TFC/TFE variable set and sets and assigns variables to it.

Meant to work along with the terraform-tfe-organization module.

Can assign to workspaces and projects, or can set to global.

Requirements

Name Version
terraform ~> 1.9
tfe ~> 0.58

Providers

Name Version
tfe ~> 0.58

Modules

No modules.

Resources

Name Type
tfe_project_variable_set.project resource
tfe_variable.var resource
tfe_variable_set.set resource
tfe_workspace_variable_set.workspace resource

Inputs

Name Description Type Default Required
description Variable set description string "" no
global (Default: false) Enable as global variable set bool false no
name Variable set name string n/a yes
organization Organization name for variable set string n/a yes
project_ids Project ID to associate with the variable set list(string) [] no
variables Variables to create in the variable set
map(object({
value = string
category = optional(string, "terraform")
description = optional(string, "")
hcl = optional(bool, false)
sensitive = optional(bool, false)
}))
{} no
workspace_ids Workspace ID to associate with the variable set list(string) [] no

Outputs

Name Description
variable_set_id n/a
variables n/a

About


Languages

Language:HCL 100.0%