What hashicorp/terraform shipped
Written by FoxPlug from the repository's own releases; not affiliated with HashiCorp. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/hashicorp/terraform; HashiCorp did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 9, 2026
What shipped
- Released Terraform 1.17.2 with an enhancement to configuration generation from large HCP Terraform queries and fixes for a provider cycle issue and repeated unavailable-provider schema warnings. Release
- Fixed repeated unavailable-provider schema warnings in log output by skipping provider function lookups during init. Pull request #39517
- Fixed an issue in fmt where output from the -diff option was suppressed when -list=false was set. Pull request #39525
- Refactored the console command to use views for terminal output. Pull request #39512
- Bumped the Go version to 1.26.11 to address several Go vulnerabilities. Pull request #39523
- Added test coverage for fmt -check ahead of moving fmt to views. Pull request #39515
- Removed duplicate unmarshalling in the renderer, improving speed and memory allocation. Pull request #39526
- Removed the remaining use of cli.Ui from the logout command. Pull request #39536
- Extracted plan InputValue parsing into a helper method for reuse in multiple places. Pull request #39510
- Fixed the Solaris-specific build issue in console modeInteractive by making it use views. Pull request #39546
Why it matters
This week brought a patch release, 1.17.2, along with several fixes that affect day-to-day use: cleaner init logs, correct fmt -diff output when listing is off, and a Go update covering known vulnerabilities. The console, fmt, and state commands are also moving toward a shared view-based output path, which should make behavior more consistent.
Changelog entry
- Released v1.17.2, including improved performance generating configuration from large HCP Terraform queries and fixes for a provider cycle and repeated init warnings. Release
- Init: no longer logs repeated unavailable-provider schema warnings during module installation. Pull request #39517
- Fmt: -diff output is no longer suppressed when -list=false is set. Pull request #39525
- Console: terminal output now uses views. Pull request #39512
- Upgraded Go to 1.26.11 to address known vulnerabilities. Pull request #39523
- Rendering: removed duplicate unmarshalling, improving speed and memory allocation. Pull request #39526
- Logout: removed the remaining use of cli.Ui for diagnostics. Pull request #39536
- Plan: extracted InputValue parsing into a shared helper method. Pull request #39510
- Console: fixed the Solaris build by making modeInteractive use views. Pull request #39546
- Testing: added coverage for fmt -check. Pull request #39515
- State mv: terminal output now uses views, including the -dry-run option. Pull request #39491
- State rm: terminal output now uses views. Pull request #39496
Terraform 1.17.2 is out: faster config generation from large HCP Terraform queries, plus fixes for a provider cycle and repeated init warnings. Also this week: fmt -diff output fixed with -list=false, console moved to views, and a Go bump to 1.26.11.
Terraform 1.17.2 is now available. It improves performance and reduces allocations when generating configuration from large HCP Terraform queries, and includes fixes for a provider cycle with destroy=false and for repeated unavailable-provider schema warnings during init. Other work this week: fmt no longer suppresses -diff output when -list=false is set, the console command now uses views for terminal output, and the Go version was bumped to 1.26.11 to address known vulnerabilities. Test coverage for fmt -check was added ahead of further fmt changes.
Week of November 2, 2026
What shipped
- The state replace-provider command now produces deterministic output and handles confirmation input differently. Pull request #39508
- JSON format parsing no longer unmarshals the same data twice, cutting roughly half the time and allocations in that path. Pull request #39497
- Forget-resource nodes no longer return referenceable addresses, fixing an incorrect reference case. Pull request #39507
- The klauspost/compress dependency was bumped from v1.19.1 to v1.20.2 to clear a security scanner alert. Pull request #39503
- The klauspost/compress bump was backported to the 1.18.x release line. Pull request #39506
- The show command help text now lists the variable flags it accepts. Pull request #39500
- Tests were added for the state rm command's dry-run option, which previously had no coverage. Pull request #39494
- The views used by show and state show were split so each command has its own interface. Pull request #39483
- The unlock command now prints human-readable output through a view, with some errors turned into diagnostics. Pull request #39472
- The login command now prints its messages to the terminal through the views packages. Pull request #39475
Why it matters
Most of the notable work this week is behind-the-scenes preparation for moving state and login-related commands onto a shared view layer, which should make terminal output and future JSON output consistent. A few changes touch things users see directly: the show help text now documents variable flags, state replace-provider output is deterministic, and a dependency bump clears a security scanner alert. The JSON format speedup and the state rm dry-run tests also reduce friction for people running these commands regularly.
Changelog entry
- State replace-provider: output is now deterministic and confirmation input is requested differently Pull request #39508
- Jsonformat: removed duplicate unmarshaling, roughly halving time and allocations in that path Pull request #39497
- Forget-resource nodes no longer return referenceable addresses Pull request #39507
- Bump klauspost/compress from v1.19.1 to v1.20.2 Pull request #39503
- Backport of the klauspost/compress bump to 1.18.x Pull request #39506
- Show: document the -var and -var-file flags in help text Pull request #39500
- Tests: add coverage for the state rm -dry-run option Pull request #39494
- Split the views used by show and state show Pull request #39483
- Unlock: print output through views and report some errors as diagnostics Pull request #39472
- Login: print terminal output through views Pull request #39475
- Logout: refactor terminal output to use views Pull request #39482
- State-identities: introduce
format_versionand diagnostics Pull request #39443
This week in Terraform: state replace-provider output is now deterministic, show help lists its variable flags, JSON parsing no longer unmarshals twice, and state rm dry-run got test coverage. Also a compress dependency bump and more commands moved to views.
This week's Terraform work includes several changes that affect commands you run directly and a larger effort to make terminal output consistent. The state replace-provider command now produces deterministic output and handles confirmation input differently. The show command help text now lists the variable flags it accepts, which were previously undocumented there. JSON format parsing no longer unmarshals the same data twice, cutting roughly half the time and allocations in that path. The state rm dry-run option got test coverage, and forget-resource nodes no longer return referenceable addresses. The klauspost/compress dependency was bumped to v1.20.2 to clear a security scanner alert, and that change was backported to 1.18.x. Several commands, including login, logout, unlock, and parts
Week of October 26, 2026
What shipped
- Released Terraform 1.17.1, which fixes a formatting issue that could lose a file's original content if writing it fails, evaluates module policies during destroy plans, and reports every policy result for a replaced resource in stacks. Release
- Fixed a bug where module policies were not evaluated during destroy plan operations because module call nodes were pruned as unused. Pull request #39455
- Fixed stacks policy evaluation so that a replaced resource instance keeps both its create and delete policy results instead of the second overwriting the first. Pull request #39453
- Fixed a missing required provider error in stacks when a component's state needs a provider that the configuration no longer requires. Pull request #39473
- Updated dependencies to address reported security vulnerabilities GO-2026-6860, GO-2026-6866 and CVE-2026-116587. Pull request #39462
- Moved the providers command to the views package for terminal output, including the logic that builds tree representations of a configuration's provider requirements. Pull request #39454
- Moved the providers schema command to produce its output through the views package. Pull request #39471
- Moved the providers mirror command to produce human-readable output through the views package. Pull request #39466
- Moved the providers lock command to the views package, which affects its progress output while downloading providers. Pull request #39457
- Moved the taint and untaint commands to the views package for terminal output and changed how some of their output is rendered. Pull request #39452
Why it matters
This week centers on the 1.17.1 patch release and the fixes it carries: a formatting write failure no longer risks losing a file's original content, module policies now run during destroy plans, and stacks reports every policy result for replaced resources. Alongside the release, several provider-related commands and the taint and untaint commands were moved to the views package, which changes how their terminal output is produced. A dependency update also addresses reported security vulnerabilities.
Changelog entry
- Terraform 1.17.1 released. Release
- Fmt: the original content of a file is now preserved if Terraform experiences an error writing to the original file. Release
- Always evaluate module policies during destroy plan. Release
- Stacks: report every policy result for a replaced resource instead of only one. Release
- Stacks: fix missing required provider error when component state requires a provider that the configuration does not. Pull request #39473
- Address reported security vulnerabilities in dependencies. Pull request #39462
- Command/providers: refactor to use views for terminal output. Pull request #39454
- Command/providers schema: refactor to use views. Pull request #39471
- Command/providers mirror: refactor to use views. Pull request #39466
- Command/providers lock: refactor to use views. Pull request #39457
- Taint and untaint commands now use the views package for terminal output. Pull request #39452
- Docs: add missing -no-color and -compact-warnings flags to command help text. Pull request #39450
Terraform 1.17.1 is out: fmt now preserves a file's original content if a write fails, module policies are evaluated during destroy plans, and stacks reports every policy result for a replaced resource. The providers commands and taint/untaint now render output through views.
Terraform 1.17.1 is now available. This patch release includes a fix so that the original content of a file is preserved if Terraform encounters an error writing it, ensures module policies are always evaluated during destroy plan operations, and makes stacks report every policy result for a replaced resource rather than only one. It also reports every policy result for replaced resources in stacks and fixes a missing required provider error when a component's state needs a provider the configuration no longer requires. Dependencies were updated to address reported security vulnerabilities. Separately, the providers, providers schema, providers mirror, providers lock, taint and untaint commands were moved to the views package to produce output, and help text was updated to include missing
Week of October 19, 2026
What shipped
- Released v1.17.0 with support for variables and locals in provider requirements, a new -minimal-refresh planning option, and general availability of Terraform Policy. Release
- Changed how the fmt command replaces file content to reduce the chance of data loss if an error occurs during writing. Pull request #39303
- Fixed an apply cycle that could happen when removing a resource while also changing
create_before_destroyon a resource that depends on it. Pull request #39413 - Released v1.16.7, which avoids a panic when testing a schema with deprecated values and builds Terraform with a Go version that no longer trusts certs from compromised eMudhra intermediate CAs. Release
- Backported the fmt file replacement change and its related change to v1.17. Pull request #39432
- Added a diagnostics field to the modules command JSON output, made errors display in JSON when -json is set, and enabled warning diagnostics in human output. Pull request #39396
- Fixed a panic when testing a schema with deprecated values. Pull request #39406
- Refactored workspace delete to use views, wrapping error and warning text into diagnostics. Pull request #39405
- Fixed the flaky TestTest_DoubleInterrupt test by logging the summary as a single write to stderr. Pull request #39404
- Rewrote part of an earlier console fix to be more defensive and avoid removing unknown marks. Pull request #39407
Why it matters
This week saw the v1.17.0 release with variables and locals in provider requirements, the -minimal-refresh planning option, and Terraform Policy reaching general availability. The fmt command now writes files in a way that reduces the chance of data loss on error.
Changelog entry
- V1.17.0: Add support for variables and locals in provider requirements, a -minimal-refresh planning option, and Terraform Policy general availability. Release
- V1.16.7: Avoid a panic when testing a schema with deprecated values; build with Go 1.26.10 to stop trusting compromised eMudhra intermediate CAs. Release
- Fmt: Change how file content is replaced to reduce the chance of data loss in error scenarios. Pull request #39303
- Backport the fmt file replacement change and its related change to v1.17. Pull request #39432
- Fix an apply cycle when removing a resource while also changing
create_before_destroyon a dependent resource. Pull request #39413 - Modules: Add a diagnostics field to JSON output, show errors in JSON when -json is present, and display warning diagnostics in human output. Pull request #39396
- Command/test: Avoid a panic when testing a schema with deprecated values. Pull request #39406
- Refactor workspace delete to use views, wrapping error and warning text into diagnostics. Pull request #39405
- Test: Fix the flaky TestTest_DoubleInterrupt test by logging the summary as a single write to stderr. Pull request #39404
- Command/console: Rewrite part of an earlier fix to be more defensive and avoid removing unknown marks. Pull request #39407
- Test: Refactor and add test cases for graph rendering in Dot format. Pull request #39437
- CONTRIBUTING.MD: Update the AI usage section to clarify expectations for submissions. Pull request #39418
Terraform v1.17.0 is out: variables and locals in provider requirements, a new -minimal-refresh planning option, and Terraform Policy now GA. Also v1.16.7 with a panic fix and a Go security bump, plus a fmt change that lowers data loss risk on write errors.
Terraform v1.17.0 is now available. This release adds support for variables and locals in provider requirements, introduces a -minimal-refresh planning option that only refreshes resources with proposed changes, and makes Terraform Policy generally available. We also released v1.16.7, which avoids a panic when testing a schema with deprecated values and includes a Go version that no longer trusts certificates from compromised eMudhra intermediate CAs. The fmt command now replaces file content in a way that reduces the chance of data loss if an error occurs during writing. We also backported that fmt change to v1.17 and fixed an apply cycle involving create_before_destroy ordering.
Week of October 12, 2026
What shipped
- Terraform 1.17.0-rc2 was released with variables and locals in provider requirements, a new -minimal-refresh planning option that only refreshes resources with proposed changes, and general availability of Terraform Policy. Release
- Terraform 1.16.6 was released with fixes so terraform init can find workspaces selected by key/value tags whose keys contain uppercase letters, and so terraform test allows modules under test to use deprecated outputs, plus a note on preventing HTTP/2 resource exhaustion via a CVE. Release
- The show command now reads variable values from a local plan file instead of requiring them to be supplied again with -var flags. Pull request #39362
- The terraform test command now works when testing modules that have deprecated outputs. Pull request #39327
- The terraform test help text now lists the -run-parallelism option, which the command already honored. Pull request #39401
- The version command now shows diagnostics in its JSON output when -json is supplied, including on failure. Pull request #39394
- The log and pow built-in functions now raise an error instead of returning positive or negative Infinity. Pull request #39304
- Flag and argument parsing logic was removed from the command package now that all command implementations use the arguments package. Pull request #39400
- Terraform query -policies output now includes a one-line summary of failed, passed, unknown and errored counts per resource. Pull request #39325
- Terraform query policy output now adds a blank line before the evaluation summary and shows Failed in red in headings and resource statuses, respecting -no-color. Pull request #39305
Why it matters
This week delivered a new release candidate for 1.17 with provider requirement variables, minimal refresh planning and general availability of Terraform Policy, alongside a 1.16.6 patch release. It also made plan files more self-contained for show and fixed terraform test handling of deprecated outputs, and expanded the query policy output with summaries and clearer failure coloring.
Changelog entry
- V1.17.0-rc2: variables and locals in provider requirements, new -minimal-refresh planning option, Terraform Policy generally available. Release
- V1.16.6: init finds workspaces selected by key/value tags with uppercase keys; terraform test allows deprecated outputs; HTTP/2 resource exhaustion CVE note. Release
- Show: read variable values from the plan file when showing a local plan. Pull request #39362
- Test: allow modules under test to use deprecated outputs. Pull request #39327
- Command: list -run-parallelism in terraform test -help. Pull request #39401
- Version: show diagnostics in JSON output when -json is supplied. Pull request #39394
- Functions: raise errors when log or pow returns +/- Infinity. Pull request #39304
- Refactor: remove flag-parsing logic from the command package. Pull request #39400
- Query: add a one-line policy summary with failed, passed, unknown and errored counts. Pull request #39325
- Query: add spacing before the policy summary and show Failed in red, respecting -no-color. Pull request #39305
- Query: list evaluated policy names beneath the summary. Pull request #39309
- Docs: add make syncdeps to dependency change instructions in CONTRIBUTING.md. Pull request #39371
1.17.0-rc2 is out with variables and locals in provider requirements, -minimal-refresh planning, and Terraform Policy generally available. 1.16.6 also shipped with init tag fixes and deprecated output support in terraform test. show now reads variables from local plan files.
This week brought Terraform 1.17.0-rc2 with variables and locals in provider requirements, a new -minimal-refresh planning option that only refreshes resources with proposed changes, and Terraform Policy now generally available. Terraform 1.16.6 also shipped, fixing workspace selection by uppercase key/value tags in init and allowing terraform test to work with modules that use deprecated outputs. The show command now reads variable values from a local plan file rather than requiring them again, version -json now reports diagnostics, log and pow raise errors instead of returning infinity, and terraform query policy output gained a one-line summary and clearer failure coloring.
Week of October 5, 2026
What shipped
- Released version 1.17.0-rc1, which adds support for variables and locals in provider requirements, a new -minimal-refresh planning option, and makes Terraform Policy generally available. Release
- Prepared the repository for the 1.17.0-rc1 release, updating the CHANGELOG.md and version/VERSION files. Pull request #39346
- Cleaned up the repository after the 1.17.0-rc1 release, updating the CHANGELOG.md and version/VERSION files. Pull request #39357
- Added a Pattern address type designed to match one or more possible expansion paths without ambiguity. Pull request #39350
- Captured state command parsing rules in the command package to replace inconsistent target parsing. Pull request #39351
- Changed removed blocks with destroy = false to check module containment instead of separate address comparisons. Pull request #39349
- Applied targeting consistently during resource expansion so placeholder nodes for partial-expanded resources are selected correctly. Pull request #39354
- Fixed cloud block workspace mapping to support keys with uppercase letters in key-value tags. Pull request #39306
- Updated workspace new so its success message is only logged when state population succeeds. Pull request #39192
- Made state identities use the arguments package to process CLI flags and arguments. Pull request #39334
Why it matters
This week brought the first release candidate for version 1.17.0, with new features including variables and locals in provider requirements, a minimal refresh planning option, and general availability of Terraform Policy. Alongside the release, a series of changes improved how target patterns and containment rules work for resource and module addressing. These changes matter to anyone using targeting, test overrides, state commands, or workspace mappings because they make behavior more consistent and fix edge cases.
Changelog entry
- V1.17.0-rc1: Terraform now supports variables and locals in provider requirements, adds a -minimal-refresh planning option, and makes Terraform Policy generally available. Release
- Added a Pattern address type that matches one or more expansion paths. Pull request #39350
- State commands now use consistent target pattern parsing. Pull request #39351
- Removed blocks with destroy = false now use module containment for planning. Pull request #39349
- Applied targeting consistently during resource expansion. Pull request #39354
- Fixed cloud block workspace mapping to support uppercase keys in key-value tags. Pull request #39306
- Workspace new now logs success only after state population succeeds. Pull request #39192
- State identities now uses the arguments package for CLI flag parsing. Pull request #39334
- Prepared repository for 1.17.0-rc1 release. Pull request #39346
- Cleaned up repository after 1.17.0-rc1 release. Pull request #39357
Terraform 1.17.0-rc1 is out, with variables and locals in provider requirements, a -minimal-refresh planning option, and Terraform Policy now generally available. We also added a Pattern address type and made targeting more consistent during resource expansion.
Terraform 1.17.0-rc1 is now available. This release candidate adds support for variables and locals in provider requirements, a new -minimal-refresh planning option that only refreshes resources with proposed changes, and makes Terraform Policy generally available. We also shipped several refactors that introduce a Pattern address type and make targeting and containment rules more consistent during resource expansion, state commands, and test overrides. Additionally, a fix ensures uppercase keys work in key-value tags for cloud block workspace mapping. See the full changelog for details.
Week of September 28, 2026
What shipped
- Version 1.16.5 released with fixes for a crash when tainted instance state lacks valid status and an issue where resource identity could be nil during delete. Release
- The -minimal-refresh planning option now forwards to HCP Terraform and Terraform Enterprise through the cloud block and legacy remote backend. Pull request #39310
- Refactoring began to move user-facing init message codes into a centralized location to eliminate use of the message registry map. Pull request #39082
- Core deferral code underwent cleanup to fix action expansion deferral recording and improve code understandability. Pull request #39311
- The fileset function now skips entries that do not resolve, including symlinks to directories, aligning with Terraform's glob behavior. Pull request #39260
- The validate command's JSON view implementation was updated to use the new JSONStaticView type. Pull request #39205
- Command tests based on internal timings and blocked execution were moved to synctest for more deterministic and faster test runs. Pull request #39307
- Tests were added to define current fmt behavior with symlinked files and reproduce issues with symlink handling. Pull request #39308
Why it matters
Version 1.16.5 shipped with important bug fixes for crashes and state handling. The ongoing refactoring of init message codes and JSON output views improves code maintainability. Remote operations now support the -minimal-refresh planning option when using HCP Terraform or Terraform Enterprise.
Changelog entry
- Fixed a crash that happens when a tainted instance state is seen without a valid status Release
- Fixed an issue where resource identity could be nil during delete Release
- The -minimal-refresh planning option now forwards to HCP Terraform and Terraform Enterprise Pull request #39310
- The fileset function now skips entries that do not resolve, including symlinks to directories Pull request #39260
Terraform 1.16.5 is out with fixes for tainted state crashes and resource identity issues. The -minimal-refresh option now works with HCP Terraform and Terraform Enterprise.
Terraform 1.16.5 is available with two important bug fixes: a crash when tainted instance state lacks valid status and a resource identity nil issue during delete. Additionally, the -minimal-refresh planning option now forwards to HCP Terraform and Terraform Enterprise. Internal refactoring continues to improve code organization and test reliability.
Week of September 21, 2026
What shipped
- Terraform 1.17.0-beta2 released with support for variables and locals in provider requirements, a new -minimal-refresh planning option, and general availability of Terraform Policy. Release
- Terraform 1.16.4 released with fixes for policy evaluation rendering and stacks deferral errors. Release
- Apply command now sends prior BeforeIdentity instead of planned null identity when destroying or forgetting resources. Pull request #39294
- Registry provider lookups now reuse a single HTTP client instead of creating new clients for each request, reducing TCP and TLS handshake overhead. Pull request #39262
- Interactive user input collection refactored with a new UIInput implementation for better testability and maintainability. Pull request #39276
- All integration tests and E2E CLI usage migrated to the new interactive user prompting implementation. Pull request #39279
- State serialization now ensures objects always have ObjectStatus to prevent invalid states from being visible during concurrent updates. Pull request #39287
- E2E tests updated to remove template provider dependency and add test coverage for interactive apply approval. Pull request #39282
- Textdecodebase64 function fixed to accept valid UTF-8 containing literal U+FFFD while rejecting malformed UTF-8. Pull request #39256
- Plan and apply -target flag validation improved to properly warn when targets differ between plan and apply. Pull request #39257
Why it matters
Two new releases ship this week with feature additions and bug fixes. The 1.17.0-beta2 release introduces variables and locals in provider requirements alongside the new -minimal-refresh option. Infrastructure improvements focus on HTTP client reuse in registry operations and state serialization robustness, while refactoring efforts modernize how interactive prompts are tested across the codebase.
Changelog entry
- NEW FEATURES: Terraform now supports variables and locals in provider requirements; new -minimal-refresh planning option added to refresh only resources with proposed changes; Terraform Policy now generally available Release
- BUG FIXES: Fixed policy evaluation rendering for older Terraform Enterprise versions; fixed invalid deferred error in stacks when provider returns deferral with unknown count/for_each Release
- Apply: send prior BeforeIdentity instead of planned null identity when destroying or forgetting resources Pull request #39294
- Getproviders: reuse one HTTP client for registry requests to reduce TCP and TLS handshake overhead Pull request #39262
- Ensure states without ObjectStatus are never serialized during concurrent updates Pull request #39287
- Fix: textdecodebase64 no longer returns error on valid UTF-8 containing literal U+FFFD Pull request #39256
- Fix: properly check that plan and apply time -targets match and return warning when they do not Pull request #39257
- Validate
provider_metafor duplicate blocks Pull request #39268 - Fix provider requirements override behavior for multiple required provider blocks Pull request #39258
- Fix error checked when rendering policy evaluation output for compatibility with go-tfe Pull request #39095
Terraform 1.17.0-beta2 and 1.16.4 released. New features in beta include variables/locals in provider requirements and -minimal-refresh planning. Bug fixes and internal refactoring improve registry performance and state handling.
This week brings two Terraform releases. Version 1.17.0-beta2 introduces variables and locals in provider requirements and a new -minimal-refresh planning option to reduce unnecessary refresh operations. Version 1.16.4 addresses policy evaluation rendering and stacks errors. Behind the scenes, we improved HTTP client reuse for registry operations, strengthened state serialization safety, and modernized interactive prompt testing across integration and E2E tests.