Change8

v1.13.0-beta3

📦 terraform
5 features🐛 7 fixes🔧 7 symbols

Summary

This beta release introduces the `terraform stacks` command and significantly enhances `terraform test` with internal variable definitions and parallel teardown. It also promotes `terraform rpcapi` to general availability and includes several bug fixes related to sensitive outputs and workspace validation.

Migration Steps

  1. For `terraform test`, define external variables using a `variable` block within the test file to avoid potential error diagnostics, especially for complex variables.

✨ New Features

  • Introduced the `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.
  • Enabled file-level variable blocks in `terraform test` 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.
  • Resolved a deadlock in `terraform test` when parallelism is set to 1.
  • Updated workspace validation to reject empty strings ("") as workspace names.
  • Added missing warning diagnostics for ignored `cloud` blocks in child modules.
  • Fixed a bug where invalid or dynamic references were not properly truncated in plan attributes.
  • Improved static validation to detect invalid references via indexes on objects.
  • Fixed performance issues when evaluating high cardinality resources and comparing planned set changes.

🔧 Affected Symbols

terraform stacksterraform rpcapiterraform testterraform workspace deleteterraform initvariablecloud block