This Terraform Module manages the lifecycle of Terraform Cloud Variable Sets.
- Terraform Cloud Account
- Terraform
1.3.x
or newer.
For examples, see the ./examples directory.
Name | Description | Type | Default | Required |
---|---|---|---|---|
description | Description of the variable set. | string |
n/a | yes |
name | Name of the variable set. | string |
n/a | yes |
organization | Name of the organization. | string |
n/a | yes |
variables | List of Objects containing Variable definitions. | list(object({ |
n/a | yes |
global | Toggle to make Variable Set available to all Workspaces in the Organization. Conflicts with var.workspace_ids . |
bool |
false |
no |
workspace_ids | List of Workspace IDs to add the Variable Set to. | list(string) |
[] |
no |
Name | Description |
---|---|
tfe_variable | Exported Attributes for tfe_variable . |
tfe_variable_set | Exported Attributes for tfe_variable_set . |
tfe_workspace_variable_set | Exported Attributes for tfe_workspace_variable_set . |
This module is maintained by the contributors listed on GitHub.
Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, without WARRANTIES or conditions of any kind, either express or implied.
See the License for the specific language governing permissions and limitations under the License.