Skip to content

Terraform module to provision and manage Terraform Cloud variable sets

License

Notifications You must be signed in to change notification settings

flowingis/terraform-tfe-variable-set

Repository files navigation

terraform-tfe-variable-set

Terraform module to provision and manage Terraform Cloud variable sets

Integrations

You can use the

It is possible to integrate this module with tfe-workspace module, in order to assign one or more variable sets to the workspace.

Requirements

Name Version
terraform >= 1.0.0
tfe >= 0.39.0

Providers

Name Version
tfe >= 0.39.0

Modules

No modules.

Resources

Name Type
tfe_variable.this resource
tfe_variable_set.this resource

Inputs

Name Description Type Default Required
description (Optional) A description for the variable set string "" no
environment_sensitive_variables (Optional) Map of sensitive variables of 'environment' category used in the variable set

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}
map(any) {} no
environment_variables (Optional) Map of variables of 'environment' category used in the variable set

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}
map(any) {} no
global (Optional) Whether or not the variable set applies to all workspaces in the organization bool false no
name (Required) Name of the variable set string n/a yes
organization (Required) Name of the organization string n/a yes
terraform_hcl_sensitive_variables (Optional) Map of sensitive variables in HCL format of 'Terraform' category used in the variable set

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}

NOTE: you can specifies values in HCL format directly, like this:

{
variable_list = ["item1","item2"]

variable_map = {
key1 = value1
key2 = value2
}
}
any {} no
terraform_hcl_variables (Optional) Map of variables in HCL format of 'Terraform' category used in the variable set

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}

NOTE: you can specifies values in HCL format directly, like this:

{
variable_list = ["item1","item2"]

variable_map = {
key1 = value1
key2 = value2
}
}
}
any {} no
terraform_sensitive_variables (Optional) Map of sensitive variables of 'Terraform' category used in the variable set

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}
map(any) {} no
terraform_variables (Optional) Map of variables of 'Terraform' category used in the workspace

Item syntax:
{
variable1_name = value1
variable2_name = value2
...
}
map(any) {} no
variables_descriptions (Optional) Map of descriptions applied to variable set variables

Item syntax:
{
variable1_name = "description"
variable2_name = "description"
...
}
map(string) {} no

Outputs

Name Description
id The ID of the variable set
variable_ids The ID of the variables contained in the variable set

About

Terraform module to provision and manage Terraform Cloud variable sets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages