Today we’ve released Terraform v1.2.0. This is a final release, which should be ready to use in production.
This is a minor release in the v1.x series, and so it continues to conform to our Terraform v1.0 Compatibility Promises. There are a few small changes to Terraform’s interactions with external systems which may affect some users; see the Terraform v1.2 Upgrade Guide for more information.
Some highlights of this release include:
- Preconditions and Postconditions build on the existing idea of custom variable validation to allow blocking conditions either before or after actions on a resource, or before returning a value through an output value.
- The Terraform Cloud integration now supports environment-variable-based configuration for the various arguments expected inside a
cloudblock, for easier integration with wrapping automation.
replace_triggered_bylifecycle argument specifies one or more attributes of other resources that should, when changed, trigger the replacement of the resource containing the
This release also includes various other enhancements and bug fixes; for full details, see the Terraform CLI v1.2.0 changelog.