Change8

v1.13.0-alpha20250702

📦 terraform
5 features🐛 6 fixes🔧 9 symbols

Summary

This alpha release introduces the `terraform stacks` command and enhances `terraform test` with inline variable definitions and parallel teardown. It also promotes `terraform rpcapi` to general availability and includes several performance optimizations and bug fixes regarding workspace naming and output sensitivity.

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.
  • Enabled file-level variable blocks in `terraform test` to reference run outputs and other variables.
  • Experimental 'deferred actions' feature (via -allow-deferral) allowing unknown values in count and for_each arguments.

🐛 Bug Fixes

  • Added warning diagnostic for ignored `cloud` blocks in child modules.
  • Fixed an issue where nested module outputs could lose sensitivity.
  • Updated workspace validation to reject empty string ("") as a valid workspace name.
  • Updated `workspace delete` to reject empty string ("") as an argument.
  • Fixed performance issues when evaluating high cardinality resources.
  • Fixed redundant comparisons when evaluating planned set changes.

🔧 Affected Symbols

terraform stacksterraform rpcapiterraform testterraform workspaceterraform workspace deletemodule.outputsvariablecountfor_each