Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksatirli/terraform-tfe-variable-set
Terraform Module: Terraform Cloud Variable Set
https://github.com/ksatirli/terraform-tfe-variable-set
hashicorp-terraform terraform-cloud
Last synced: 13 days ago
JSON representation
Terraform Module: Terraform Cloud Variable Set
- Host: GitHub
- URL: https://github.com/ksatirli/terraform-tfe-variable-set
- Owner: ksatirli
- License: apache-2.0
- Created: 2022-09-03T15:29:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T09:05:08.000Z (about 2 years ago)
- Last Synced: 2024-10-11T06:43:12.964Z (about 1 month ago)
- Topics: hashicorp-terraform, terraform-cloud
- Language: HCL
- Homepage: https://registry.terraform.io/modules/ksatirli/variable-set/tfe/latest
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform Cloud: Variable Set
This Terraform Module manages the lifecycle of [Terraform Cloud Variable Sets](https://www.terraform.io/cloud-docs/api-docs/variable-sets).
## Table of Contents
* [Terraform Cloud: Variable Set](#terraform-cloud--variable-set)
* [Table of Contents](#table-of-contents)
* [Requirements](#requirements)
* [Usage](#usage)
* [Author Information](#author-information)
* [License](#license)## Requirements
* Terraform Cloud [Account](https://app.terraform.io/session)
* Terraform `1.3.x` or newer.## Usage
For examples, see the [./examples](https://github.com/ksatirli/terraform-tfe-variable-set/tree/main/examples/) directory.
### Inputs
| 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 |
key = string
value = string
category = string
description = string
sensitive = optional(bool)
}))
| 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 |### Outputs
| 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`. |## Author Information
This module is maintained by the contributors listed on [GitHub](https://github.com/ksatirli/terraform-tfe-variable-set/graphs/contributors).
## License
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](http://www.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.