All releases
Terraform
Terraformv1.17.0

Terraform 1.17 — Terraform Policy GA and Minimal Refresh

Terraform 1.17 makes Terraform Policy generally available, adds a -minimal-refresh planning option, and allows variables and locals in provider requirements.

Share:XLinkedInWhatsApp

What's New

  • 1Terraform Policy is GA — the -policies flag for plan, apply and query no longer needs an experimental build or -allow-experimental-features
  • 2Query policies evaluate resources discovered by list blocks and report human-readable or JSON results
  • 3New -minimal-refresh planning option refreshes only resources that have proposed changes
  • 4Variables and locals are now supported in provider requirements
  • 5mock_provider in terraform test now supports ephemeral resources
  • 6terraform version JSON output includes a new format_version field

Breaking Changes

  • The log and pow functions now raise errors instead of returning +/- Infinity
  • Diagnostics raised when renewing an ephemeral resource are now displayed, so warnings that were previously lost may appear

Upgrade Notes

Consumers of terraform version JSON output should start reading format_version, as it enables safer future format changes. Binaries are built with Go 1.26.10, which no longer trusts certificates from a set of compromised eMudhra intermediate CAs.