Change8

v1.12.0-beta1

Breaking Changes
📦 terraform
1 breaking8 features🐛 5 fixes🔧 5 symbols

Summary

This beta release introduces parallel execution capabilities and short-circuiting logical operators to Terraform Test, while increasing the minimum Linux kernel requirement to version 3.2.

⚠️ Breaking Changes

  • Support for Linux kernel versions older than 3.2 has been discontinued. To fix, ensure the host operating system is running Linux kernel 3.2 or later.

Migration Steps

  1. Verify Linux kernel version is 3.2 or higher before upgrading.
  2. Update any automation scripts relying on the legacy 'Terraform Cloud agent' string if they perform exact match string parsing on error messages.

✨ New Features

  • Terraform Test now supports a -parallelism=n option for plan/apply operations.
  • Logical binary operators now support short-circuiting.
  • Terraform Test runs can now be annotated for parallel execution.
  • Allow terraform init in directories containing tests even if no configuration files are present in the root.
  • Terraform Test now continues execution of subsequent tests when an expected failure is not encountered.
  • Detailed diagnostic objects are now produced when test run assertions fail.
  • Improved elapsed time display in UI Hook using mm:ss format.
  • Updated error messages to use 'HCP Terraform Agent' instead of 'Terraform Cloud agent'.

🐛 Bug Fixes

  • Fixed issue where refreshed state was not used in the plan for orphaned resource instances.
  • Fixed malformed version error when remote backends read workspaces with version constraints.
  • Fixed erroneous plan changes caused by reordering of sensitive attributes in state format.
  • Prevented duplicate attribute-associated diagnostics like 'Available Write-only Attribute Alternative'.
  • Restricted for_each expressions in import blocks from referencing the import target.

🔧 Affected Symbols

terraform testterraform initimportfor_eachlogical operators