v1.12.0-alpha20250319
Breaking Changes📦 terraform
⚠ 1 breaking✨ 9 features🐛 4 fixes🔧 7 symbols
Summary
This alpha release introduces parallel execution and short-circuiting operators to Terraform Test, while increasing the minimum Linux kernel requirement to 3.2. It also includes experimental support for an RPC API and deferred actions for unknown values.
⚠️ Breaking Changes
- Support for Linux kernel versions older than 3.2 has been discontinued. To fix, ensure your Linux environment is running kernel version 3.2 or later.
Migration Steps
- Verify Linux kernel version is 3.2 or higher before upgrading.
- Update CI/CD pipelines to utilize the new -parallelism flag in 'terraform test' if parallel execution is desired.
✨ 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 even if an expected failure is not encountered.
- Failed test assertions now produce detailed diagnostic objects.
- UI Hook now displays elapsed time in mm:ss format.
- Experimental 'terraform rpcapi' command for Terraform Core functionality via RPC.
- Experimental 'deferred actions' feature via -allow-deferral flag to handle unknown values in count and for_each.
🐛 Bug Fixes
- Fixed issue where refreshed state was not used in plans for orphaned resource instances.
- Fixed malformed version errors when remote backends read workspaces with version constraints.
- Fixed erroneous plan changes caused by sensitive attribute ordering in state files.
- Prevented duplicate attribute-associated diagnostics from being reported.
🔧 Affected Symbols
terraform testterraform initterraform rpcapi-parallelism-allow-deferralcountfor_each