mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
d7e07e66fc
* Add ability to specify Terraform Cloud Project in cloud block Adds project configuration to the workspaces section of the cloud block. Also configurable via the `TF_CLOUD_PROJECT` environment variable. When a project is configured, the following behaviors will occur: - `terraform init` with workspaces.name configured will create the workspace in the given project - `terraform workspace new <name>` with workspaces.tags configured will create workspaces in the given project - `terraform workspace list` will list workspaces only from the given project The following behaviors are NOT affected by project configuration - `terraform workspace delete <name>` does not validate the workspace's inclusion in the given project - When initializing a workspace that already exists in Terraform Cloud, the workspace's parent project is NOT validated against the given project Adds tests for cloud block configuration of project Update changelog * Update cloud block docs * Fix typos and changelog entry * Add speculative project lookup early in the cloud initialize process to capture inability to find a configured project * Add project config for alias test
34 lines
3.0 KiB
Markdown
34 lines
3.0 KiB
Markdown
## 1.6.0 (Unreleased)
|
|
|
|
NEW FEATURES:
|
|
* `terraform test`: The previously experimental `terraform test` command has been moved out of experimental. This comes with a significant change in how Terraform tests are written and executed.
|
|
|
|
Terraform tests are now written within `.tftest.hcl` files, controlled by a series of `run` blocks. Each `run` block will execute a Terraform plan or apply command against the Terraform configuration under test and can execute conditions against the resultant plan and state.
|
|
|
|
ENHANCEMENTS:
|
|
* config: Terraform can now track some additional detail about values that won't be known until the apply step, such as the range of possible lengths for a collection or whether an unknown value can possibly be null. When this information is available, Terraform can potentially generate known results for some operations on unknown values. This doesn't mean that Terraform can immediately track that detail in all cases, but the type system now contains the facility for that and so over time we will improve the level of detail generated by built-in functions, language operators, Terraform providers, etc. [GH-33234]
|
|
* jsonplan: Added `errored` field to JSON plan output, indicating whether a plan errored. [GH-33372]
|
|
* cloud: Remote plans on Terraform Cloud/Enterprise can now be saved using the `-out` flag, referenced in the `show` command, and applied by specifying the plan file name.
|
|
|
|
|
|
BUG FIXES:
|
|
* The upstream dependency that Terraform uses for service discovery of Terraform-native services such as Terraform Cloud/Enterprise state storage was previously not concurrency-safe, but Terraform was treating it as if it was in situations like when a configuration has multiple `terraform_remote_state` blocks all using the "remote" backend. Terraform is now using a newer version of that library which updates its internal caches in a concurrency-safe way. [GH-33364]
|
|
* Transitive dependencies were lost during apply when the referenced resource expanded into zero instances [GH-33403]
|
|
* Terraform will no longer override SSH settings in local git configuration when installing modules. [GH-33592]
|
|
|
|
## Previous Releases
|
|
|
|
For information on prior major and minor releases, see their changelogs:
|
|
|
|
* [v1.5](https://github.com/hashicorp/terraform/blob/v1.5/CHANGELOG.md)
|
|
* [v1.4](https://github.com/hashicorp/terraform/blob/v1.4/CHANGELOG.md)
|
|
* [v1.3](https://github.com/hashicorp/terraform/blob/v1.3/CHANGELOG.md)
|
|
* [v1.2](https://github.com/hashicorp/terraform/blob/v1.2/CHANGELOG.md)
|
|
* [v1.1](https://github.com/hashicorp/terraform/blob/v1.1/CHANGELOG.md)
|
|
* [v1.0](https://github.com/hashicorp/terraform/blob/v1.0/CHANGELOG.md)
|
|
* [v0.15](https://github.com/hashicorp/terraform/blob/v0.15/CHANGELOG.md)
|
|
* [v0.14](https://github.com/hashicorp/terraform/blob/v0.14/CHANGELOG.md)
|
|
* [v0.13](https://github.com/hashicorp/terraform/blob/v0.13/CHANGELOG.md)
|
|
* [v0.12](https://github.com/hashicorp/terraform/blob/v0.12/CHANGELOG.md)
|
|
* [v0.11 and earlier](https://github.com/hashicorp/terraform/blob/v0.11/CHANGELOG.md)
|