Terraform CLI v1.2.0-rc1 has been released. We anticipate this will be the final release candidate for v1.2. As usual, we don’t recommend using prereleases in production, but please try them in test environments and report any issues in GitHub.
This release includes many new features, enhancements and bug fixes, some of which include
postconditioncheck blocks for resources, data sources, and module output values: module authors can now document assumptions and assertions about configuration and state values.
- You may specify remote network service credentials using an environment variable named after the host name with a
TF_TOKEN_prefix. For example, the value of a variable named
TF_TOKEN_app_terraform_iowill be used as a bearer authorization token when the CLI makes service requests to the host name “app.terraform.io”
replace_triggered_byis a new
lifecycleargument which allows one to configure the replacement of a resource based on changes in a dependency.
- Reduced “changes made outside of Terraform” output, only showing what may have contributed to the plan.
See the full list in the v1.2.0-rc1 CHANGELOG