Change8

v1.12.0-beta2

📦 terraformView on GitHub →
9 features🐛 5 fixes

Summary

This beta release introduces significant enhancements to Terraform Test, including parallelism control and improved failure handling. It also fixes several bugs related to state refreshing and diagnostic reporting.

Migration Steps

  1. On Linux, ensure the system kernel version is 3.2 or later, as support for previous versions has been discontinued.

✨ New Features

  • Terraform Test command now accepts a -parallelism=n option to set the number of parallel operations in a test run's plan/apply operation.
  • Logical binary operators can now short-circuit.
  • Terraform Test: Runs can now be annotated for possible parallel execution.
  • Allow terraform init when tests are present but no configuration files are directly inside the current directory.
  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered.
  • Produce detailed diagnostic objects when test run assertions fail.
  • backend/oss: Supports more standard environment variables to keep same with provider setting.
  • Improved elapsed time display in UI Hook to show minutes and seconds in "mm:ss" format.
  • Update legacy term used in error messages (Terraform Cloud agent => HCP Terraform Agent).

🐛 Bug Fixes

  • Refreshed state was not used in the plan for orphaned resource instances.
  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint.
  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none.
  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative".
  • for_each expressions in import blocks should not be able to reference the import target.