Terraform CLI v1.2.0-beta1 released

Terraform CLI v1.2.0-beta1 has been released, marking the beginning of the prerelease feedback period 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

  • precondition and postcondition check 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_io will be used as a bearer authorization token when the CLI makes service requests to the host name “app.terraform.io
  • replace_triggered_by is a new lifecycle argument 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-beta1 CHANGELOG