Change8

v1.13.0-alpha20250708

Breaking Changes
📦 terraform
1 breaking5 features🐛 5 fixes🔧 7 symbols

Summary

This alpha release introduces the `terraform stacks` command and significant enhancements to `terraform test` variable handling, alongside performance optimizations and sensitivity fixes for module outputs.

⚠️ Breaking Changes

  • Workspaces named with an empty string ("") are now rejected during validation and deletion. Users must use valid, non-empty workspace names.

Migration Steps

  1. For `terraform test`, add `variable` definition blocks within test files for any referenced external variables to avoid potential error diagnostics.

✨ New Features

  • Introduced the `terraform stacks` command to expose stack operations via the CLI.
  • The `terraform rpcapi` command is now generally available for go-plugin compatible RPC interfaces.
  • Added support for defining external variables directly within `terraform test` files.
  • Enhanced `terraform test` to allow file-level variable blocks to reference run outputs and other variables.
  • Experimental 'deferred actions' feature (via -allow-deferral) allows count and for_each to have unknown values.

🐛 Bug Fixes

  • Added warning diagnostic for ignored `cloud` blocks in child modules.
  • Fixed an issue where nested module outputs could lose sensitivity.
  • Fixed a deadlock in `terraform test` when parallelism is set to 1.
  • Improved performance for high cardinality resource evaluation and set change comparisons.
  • Ensured filesystem functions are checked for consistent results to prevent invalid data during apply.

🔧 Affected Symbols

terraform stacksterraform rpcapiterraform testterraform workspace deletecloud blockmodule.outputsfilesystem functions