This data source is used to retrieve a named variable set
For workspace variables:
data "tfe_variable_set" "test" {
name = "my-variable-set-name"
organization = "my-org-name"
}
The following arguments are supported:
name
- (Required) Name of the variable set.organization
- (Required) Name of the organization.id
- The ID of the variable.organization
- Name of the organization.name
- Name of the variable set.description
- Description of the variable set.global
- Whether the variable set applies to all workspaces in the organization.priority
- Whether the variables in this set are able to be over-written.workspace_ids
- IDs of the workspaces that use the variable set.variable_ids
- IDs of the variables attached to the variable set.project_ids
- IDs of the projects that use the variable set.