Terraform 1.13
This overview applies when the project's target Terraform version is at least 1.13.
Stacks and automation
- The
terraform stackscommand exposes stack operations through a separately installed Stacks plugin. Available subcommands depend on that plugin and are discoverable withterraform stacks -help. terraform rpcapiis generally available for internal integrations using the go-plugin-compatible RPC interface; it is not a stable public automation surface.
Testing
- Test files can declare definitions for external variables they reference, improving type checking and diagnostics for complex inputs.
- File-level variable values can refer to run outputs and other variables.
- Test teardown operations can execute in parallel where their dependencies permit it.
Validation and state
- Filesystem functions are checked for consistent results between evaluation phases, exposing configuration that would otherwise produce an inconsistent final plan.
- Static validation detects more invalid indexed references before provider operations.
- Nested module outputs preserve their sensitivity marks through state and evaluation.