v1.13.0-beta1
Breaking Changes📦 terraform
⚠ 2 breaking✨ 5 features🐛 6 fixes🔧 7 symbols
Summary
Terraform 1.13.0-beta1 introduces the 'terraform stacks' command and significant enhancements to 'terraform test', including in-file variable definitions and parallel teardowns. It also hardens filesystem function checks and workspace validation while promoting the RPC API to general availability.
⚠️ Breaking Changes
- Filesystem functions now enforce consistency checks during apply; invalid data that previously passed may now cause errors.
- Workspaces named with an empty string ("") are now rejected during validation and deletion.
Migration Steps
- For 'terraform test', add 'variable' definition blocks within test files for any referenced external variables to avoid potential diagnostic errors.
✨ New Features
- Introduced 'terraform stacks' command to expose stack operations via the CLI.
- The 'terraform rpcapi' command is now generally available for RPC-based operations.
- Added support for defining external variables directly within 'terraform test' files.
- Enhanced 'terraform test' file-level variable blocks to reference run outputs and other variables.
- Added parallel execution support for teardown operations in 'terraform test'.
🐛 Bug Fixes
- Fixed an issue where nested module outputs could lose sensitivity markers.
- Added missing warning for ignored 'cloud' blocks in child modules.
- Fixed a deadlock occurring in 'terraform test' when parallelism was set to 1.
- Improved type checking error messages and static validation for object index references.
- Fixed plan output to truncate invalid or dynamic references in relevant attributes.
- Optimized performance by skipping redundant comparisons in planned set changes and high cardinality resource evaluation.
🔧 Affected Symbols
terraform stacksterraform rpcapiterraform testterraform workspace deleteterraform initvariablecloud block