v1.12.0-beta2
Breaking Changes📦 terraform
⚠ 1 breaking✨ 9 features🐛 5 fixes🔧 5 symbols
Summary
Terraform 1.12.0-beta2 introduces parallel execution options and short-circuiting operators, while dropping support for Linux kernels older than 3.2.
⚠️ Breaking Changes
- Discontinued support for Linux kernel versions older than 3.2. To fix, ensure the host operating system is running Linux kernel 3.2 or later.
Migration Steps
- Verify Linux kernel version is 3.2 or higher before upgrading.
- Update any automation scripts using 'terraform test' if you wish to utilize the new -parallelism flag.
✨ New Features
- Added -parallelism=n option to 'terraform test' to control parallel operations in plan/apply.
- Logical binary operators now support short-circuiting.
- Added ability to annotate 'terraform test' runs for parallel execution.
- Allowed 'terraform init' to run when tests are present even if no configuration files are in the root directory.
- Updated 'terraform test' to continue execution when an expected failure is not encountered.
- Introduced detailed diagnostic objects for failed test run assertions.
- Added support for standard environment variables in the OSS backend to match provider settings.
- Improved UI Hook elapsed time display to use mm:ss format.
- Updated 'Terraform Cloud agent' terminology to 'HCP Terraform Agent' in error messages.
🐛 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 sensitive attribute ordering 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 initbackend/ossimportfor_each