BUG FIXES:
-
impure functions could cause templatefile to incorrectly fail consistency checks (#37807)
-
Allow filesystem functions to return inconsistent results when evaluated within provider configuration (#37854)
BUG FIXES:
- Fix crash when showing a cloud plan without having a cloud backend (#37751)
BUG FIXES:
- variable validation: keep sensitive and ephemeral metadata when evaluating variable conditions. (#37595)
BUG FIXES:
-
test: Fix the order of execution of cleanup nodes (#37546)
-
apply: hide sensitive inputs when values have changed between plan and apply (#37582)
BUG FIXES:
-
Fix regression that caused
terraform testwith zero tests to return a non-zero exit code. (#37477) -
terraform test: prevent panic when resolving incomplete references (#37484)
NEW FEATURES:
- The new command
terraform stacksexposes some stack operations through the cli. The available subcommands depend on the stacks plugin implementation. Useterraform stacks -helpto see available commands. (#36931)
ENHANCEMENTS:
-
Filesystem functions are now checked for consistent results to catch invalid data during apply (#37001)
-
Allow successful init when provider constraint matches at least one valid version (#37137)
-
Performance fix for evaluating high cardinality resources (#37154)
-
TF Test: Allow parallel execution of teardown operations (#37169)
-
terraform test: Test authors can now specify definitions for external variables that are referenced within test files directly within the test file itself. (#37195) -
terraform test: File-level variable blocks can now reference run outputs and other variables." (#37205) -
skip redundant comparisons when comparing planned set changes (#37280)
-
type checking: improve error message on type mismatches. (#37298)
BUG FIXES:
-
Added a missing warning diagnostic that alerts users when child module contains an ignored
cloudblock. (#37180) -
Nested module outputs could lose sensitivity, even when marked as such in the configuration (#37212)
-
workspace: Updated validation to reject workspaces named "" (#37267)
-
workspace: Updated the
workspace deletecommand to reject""as an invalid workspace name (#37275) -
plan: truncate invalid or dynamic references in the relevant attributes (#37290)
-
Test run Parallelism of 1 should not result in deadlock (#37292)
-
static validation: detect invalid static references via indexes on objects. (#37298)
-
Fixes resource identity being dropped from state in certain cases (#37396)
NOTES:
- The command
terraform rpcapiis now generally available. It is not intended for public consumption, but exposes certain Terraform operations through an RPC interface compatible with go-plugin. (#37067)
UPGRADE NOTES:
terraform test: External variables referenced within test files should now be accompanied by avariabledefinition block within the test file. This is optional, but users with complex external variables may see error diagnostics without the additional variable definition. (#37195) EXPERIMENTS:
Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.
- The experimental "deferred actions" feature, enabled by passing the
-allow-deferraloption toterraform plan, permitscountandfor_eacharguments inmodule,resource, anddatablocks to have unknown values and allows providers to react more flexibly to unknown values.
For information on prior major and minor releases, refer to their changelogs: