diff --git a/CHANGELOG.md b/CHANGELOG.md index 9427399..a0571bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [2.0.1] - 2024-12-22 + +BUG FIXES: +* `var.organization` may be `null` + ## [2.0.0] - 2024-08-30 BREAKING CHANGES: @@ -13,6 +18,7 @@ BREAKING CHANGES: Initial release -[Unreleased]: https://github.com/nephosolutions/terraform-tfe-variable-set/compare/v2.0.0...HEAD +[Unreleased]: https://github.com/nephosolutions/terraform-tfe-variable-set/compare/v2.0.1...HEAD +[2.0.1]: https://github.com/nephosolutions/terraform-tfe-variable-set/releases/tag/v2.0.1 [2.0.0]: https://github.com/nephosolutions/terraform-tfe-variable-set/releases/tag/v2.0.0 [1.0.0]: https://github.com/nephosolutions/terraform-tfe-variable-set/releases/tag/v1.0.0 diff --git a/modules/variable/README.md b/modules/variable/README.md index 6281ad5..2e337d7 100644 --- a/modules/variable/README.md +++ b/modules/variable/README.md @@ -49,7 +49,7 @@ No modules. | [description](#input\_description) | Description of the variable. | `string` | `null` | no | | [hcl](#input\_hcl) | Whether to evaluate the value of the variable as a string of HCL code. | `bool` | `false` | no | | [key](#input\_key) | Name of the variable. | `string` | n/a | yes | -| [organization](#input\_organization) | The name of the organization. | `string` | n/a | yes | +| [organization](#input\_organization) | The name of the organization. | `string` | `null` | no | | [sensitive](#input\_sensitive) | Whether the value is sensitive. If true then the variable is written once and not visible thereafter. | `bool` | `false` | no | | [value](#input\_value) | The workspace output to read the variable value from. | `string` | n/a | yes | | [variable\_set\_id](#input\_variable\_set\_id) | ID of the variable set that owns the variable. | `string` | n/a | yes | diff --git a/modules/variable/variables.tf b/modules/variable/variables.tf index aa8115a..7b7bdb0 100644 --- a/modules/variable/variables.tf +++ b/modules/variable/variables.tf @@ -46,7 +46,7 @@ variable "key" { variable "organization" { description = "The name of the organization." type = string - nullable = false + default = null } variable "sensitive" {