Change8

v1.12.0-alpha20250312

Breaking Changes
📦 terraform
1 breaking9 features🐛 5 fixes🔧 6 symbols

Summary

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

⚠️ Breaking Changes

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

Migration Steps

  1. Verify Linux kernel version is 3.2 or higher using 'uname -r' before upgrading.

✨ 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' to run when tests are present even if no configuration files are in the current directory.
  • 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 UI elapsed time display using mm:ss format.
  • Experimental 'terraform rpcapi' command for Terraform Core functionality via go-plugin (Alpha only).
  • Experimental 'deferred actions' feature via -allow-deferral flag for unknown values in count and for_each (Alpha only).

🐛 Bug Fixes

  • Fixed issue where refreshed state was not used in the plan for orphaned resource instances.
  • Fixed malformed Terraform version error when remote backends read workspaces with version constraints.
  • Fixed false plan changes caused by reordering of sensitive attributes in state format.
  • Avoid reporting duplicate attribute-associated diagnostics like 'Available Write-only Attribute Alternative'.
  • Fixed unintended CLI exit when using remote backend with HCP Terraform post-plan tasks.

🔧 Affected Symbols

terraform testterraform initterraform rpcapiterraform plan -allow-deferralcountfor_each