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.
No modules.
| 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 |