Terraform 1.17 Adds -minimal-refresh and Policy GA. Use One, Be Careful With the Other
Most Terraform minor releases are quiet, and this one mostly is too. But it has one feature that will tempt every team with a slow plan, and that is exactly the kind of feature that deserves a warning label. Terraform 1.17.0 shipped on October 21, 2026, about eight weeks after 1.16.0. Per HashiCorp's changelog it has three new features, a handful of enhancements and bug fixes, and a couple of…
Terraform 1.17.0, released on October 21, 2026, introduces two notable features. The first is -minimal-refresh, a planning option that refreshes only resources with proposed changes. This can significantly speed up plans for resources with thousands of instances but comes with risks. It ignores changes made outside Terraform, may produce incomplete plans, and should not be used for production applies. A better application might be during pull-request feedback, where reviewers can quickly see the impact of changes.
The second feature is the GA (General Availability) of Terraform Policy. It allows policies to be written as code in HCL files (.policy.hcl), providing human-readable or JSON results for evaluation. While it is generally available, it is still in beta according to HashiCorp's own documentation. Before adopting it, it is recommended to pilot it on a non-critical repository.
Other changes include improvements in output, such as better diagnostics for ephemeral resource renewals, and changes to how log and pow functions handle infinity. The version output format has also been updated. Security-wise, Terraform is now built with Go 1.26.10, which addresses a vulnerability related to compromised eMudhra intermediate CAs.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to