yaml-variables
0x022b/yaml-variables/tfe
Set and use Terraform Cloud workspace variables from a file
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| organization | string | Name of the organization. | required |
| workspace | string | Name of the workspace. | required |
| dirname | string | Filesystem path to a directory containing variable files. | "." |
Outputs (1)
variables — YAML file variables as a key-value map.Resources (1)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,