Change8

v1.12.0-alpha20250312

Breaking Changes
📦 terraformView on GitHub →
1 breaking7 features🐛 5 fixes

Summary

This alpha release introduces significant enhancements to Terraform Test, including parallelism control and improved failure handling, alongside fixes for state refreshing and remote backend interactions. It also drops support for Linux kernels older than 3.2.

⚠️ Breaking Changes

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. Users on older Linux kernels must upgrade their kernel to continue using Terraform.

Migration Steps

  1. Ensure your Linux operating system uses kernel version 3.2 or later to run this version of Terraform.

✨ New Features

  • Terraform Test command now accepts a -parallelism=n option to set the number of parallel operations during plan/apply.
  • Logical binary operators now support short-circuiting.
  • Terraform Test runs can now be annotated for possible parallel execution.
  • Allows 'terraform init' when tests are present but no configuration files are directly inside the current directory.
  • Terraform Test now continues subsequent test execution if an expected failure is not encountered.
  • Detailed diagnostic objects are produced when test run assertions fail.
  • Improved elapsed time display in UI Hook to show minutes and seconds in 'mm:ss' format.

🐛 Bug Fixes

  • Refreshed state is now used in the plan for orphaned resource instances.
  • Fixes malformed Terraform version error when the remote backend reads a remote workspace specifying a Terraform version constraint.
  • Changes to the order of sensitive attributes in the state format no longer erroneously indicate a plan contains changes when none exist.
  • Avoids reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative".
  • Fixes unintended exit of CLI when using the remote backend and applying with post-plan tasks configured in HCP Terraform.