yaml-variables

0x022b/yaml-variables/tfe

Terraform Module HCL TFE ⏱ stale 4y 1mo

Set and use Terraform Cloud workspace variables from a file

Install

module "yaml-variables" {
source = "0x022b/yaml-variables/tfe"
version = "1.2.0"
}
⭐ Source on GitHub 📦 Registry page

README

Terraform Cloud/Enterprise YAML Variables Terraform module which makes it possible to set and use workspace variables from a file stored in a repository. Even though this module supports sensitive variables it's not recommended to save sensitive variables in a file stored in a repository. Authentication This module requires a Terraform Cloud/Enterprise API token in order to manage workspace variables. There are several ways to provide the required token for the provider: Set the token argument in the provider configuration. You can set the token argument in the provider configuration. Use an input variable for the token. Set the TFE_TOKEN environment variable: The provider can read the TFE_TOKEN environment variable and the token stored there to authenticate. When configuring the input var

Inputs (3)

NameTypeDescriptionDefault
organizationstringName of the organization. required
workspacestringName of the workspace. required
dirnamestringFilesystem path to a directory containing variable files."."

Outputs (1)

variables — YAML file variables as a key-value map.

Resources (1)

tfe_variable

Details

FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud TFE
★ Stars1
Forks0
Total downloads3.1k
Inputs3
Outputs1
Resources1
LicenseMIT
Namespace0x022b
Updated