Change8

v1.13.0-rc1

Breaking Changes
📦 terraformView on GitHub →
2 breaking5 features🐛 7 fixes🔧 6 symbols

Summary

Terraform 1.13.0-rc1 introduces the `terraform stacks` command, stabilizes the `rpcapi` interface, and significantly enhances the `terraform test` framework with better variable handling and parallel teardowns.

⚠️ Breaking Changes

  • Workspaces named with an empty string ("") are now rejected during validation and deletion.
  • Filesystem functions now enforce consistency checks during the apply phase, which may fail if data changes unexpectedly.

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 `terraform stacks` command to expose stack operations via the CLI.
  • The `terraform rpcapi` command is now generally available for RPC-based operations.
  • Enhanced `terraform test` to allow defining external variables directly within test files.
  • Enhanced `terraform test` to allow file-level variable blocks to reference run outputs and other variables.
  • Added support for parallel execution of teardown operations in `terraform test`.

🐛 Bug Fixes

  • Fixed an issue where nested module outputs could lose sensitivity markers.
  • Fixed a bug where resource identity could be dropped from state in specific scenarios.
  • Resolved a deadlock in `terraform test` when parallelism was set to 1.
  • Added missing warning for ignored `cloud` blocks in child modules.
  • Fixed static validation to detect invalid references via indexes on objects.
  • Improved plan output by truncating invalid or dynamic references in relevant attributes.
  • Fixed provider initialization to succeed if at least one valid version matches constraints.

🔧 Affected Symbols

terraform stacksterraform rpcapiterraform testworkspace deletefilesystem functionscloud block