Change8

v1.17.0-alpha20260827

📦 terraformView on GitHub →
6 features🐛 3 fixes🔧 12 symbols

Summary

This release introduces a new minimal refresh option for planning and enhances logging. It also includes several bug fixes and experimental features for deferred actions, test cleanup, and policy evaluation.

✨ New Features

  • Added a new `-minimal-refresh` planning option to only refresh resources with proposed changes.
  • Experimental feature: 'deferred actions' enabled by `-allow-deferral` for `plan` allows `count` and `for_each` in module, resource, and data blocks to have unknown values, enabling more flexible provider reactions.
  • Experimental feature: `terraform test cleanup` command to automatically clean up local state files left by failed test cleanup operations.
  • Experimental feature: `backend` blocks within `run` blocks in Terraform Test files allow loading state from a specified backend, preserving long-running test infrastructure between operations.
  • Experimental feature: `skip_cleanup` attribute in Terraform Test files and run blocks prevents automatic cleanup of state files, allowing manual cleanup via `terraform test cleanup`.
  • Experimental feature: `-policies` flag for `terraform query` allows specifying policy set directories to evaluate policies against discovered resources.

🐛 Bug Fixes

  • The `pow` and `log` functions no longer panic when the result is not a number.
  • Terraform now uses and displays diagnostics raised when renewing an ephemeral resource, which may surface previously lost warnings. This is not expected to be breaking.
  • Fixed a panic that occurred when importing identity references a sensitive value.

Affected Symbols