v1.17.0-alpha20260729Pre-release
Added
- Experimental deferred actions feature enabled with -allow-deferral option to terraform plan permits count and for_each arguments in module, resource, and data blocks to have unknown values
- Experimental terraform test cleanup command to clean up local state files left behind from failed cleanup operations
- Experimental backend blocks within run blocks in Terraform Test files to load state from specified backend instead of starting from empty state
- Experimental skip_cleanup attributes in test files and run blocks to prevent cleanup of state files produced by specified run blocks
- Experimental -policies flag for terraform query to specify policy set directory paths for policy evaluation
Changed
- Enrich log messages in terraform init with provider versions
Fixed
- pow and log functions no longer panic when result is not a number
1.17.0-alpha20260729 (July 29, 2026)
ENHANCEMENTS:
- command/init: Enrich log messages with provider versions (#38918)
BUG FIXES:
- funcs: pow and log no longer panic when result is not a number (#38912)
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. terraform test cleanup: The experimentaltest cleanupcommand. In experimental builds of Terraform, a manifest file and state files for each failed cleanup operation during test operations are saved within the.terraformlocal directory. Thetest cleanupcommand will attempt to clean up the local state files left behind automatically, without requiring manual intervention.terraform test:backendblocks andskip_cleanupattributes:- Test authors can now specify
backendblocks withinrunblocks in Terraform Test files. Run blocks withbackendblocks will load state from the specified backend instead of starting from empty state on every execution. This allows test authors to keep long-running test infrastructure alive between test operations, saving time during regular test operations. - Test authors can now specify
skip_cleanupattributes within test files and within run blocks. Theskip_cleanupattribute tellsterraform testnot to clean up state files produced by run blocks with this attribute set to true. The state files for affected run blocks will be written to disk within the.terraformdirectory, where they can then be cleaned up manually using the also experimentalterraform test cleanupcommand.
- Test authors can now specify
terraform query: The experimental-policiesflag permits specifying one or more policy set directory paths to evaluate policies against resources discovered by list blocks during a query operation.
Previous Releases
For information on prior major and minor releases, refer to their changelogs: