terraform/.changes
Varun Chawla a5aa6cc5b7
states: fix RootOutputValuesEqual comparing s2 to itself (#38181)
* states: fix RootOutputValuesEqual comparing s2 to itself

RootOutputValuesEqual had a copy-paste bug where it iterated over
s2.RootOutputValues instead of s.RootOutputValues, effectively
comparing s2 against itself rather than comparing the receiver (s)
against the argument (s2). This meant the function would always
return true as long as both states had the same number of output
values, regardless of whether the actual values differed.

This bug was introduced in #37886 and affects refresh-only plan mode,
where RootOutputValuesEqual is used to determine if root output values
changed during refresh, which controls whether the plan is considered
applyable.

* add changelog entry for RootOutputValuesEqual fix

* Update changelog wording per reviewer suggestion

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:15:37 +00:00
..
v1.11 Prepare main branch for 1.14 development (cleanup) (#37312) 2025-07-09 17:42:04 +01:00
v1.12 Prepare main branch for 1.14 development (cleanup) (#37312) 2025-07-09 17:42:04 +01:00
v1.13 CHANGELOG 2025-11-03 11:22:00 -05:00
v1.14 Move changelog file to avoid duplicate entry 2026-02-05 17:21:34 +01:00
v1.15 states: fix RootOutputValuesEqual comparing s2 to itself (#38181) 2026-02-18 11:15:37 +00:00
1.15.0.md Prepare main branch for post-v1.14 development (#37621) 2025-09-16 18:16:30 +01:00
footer-with-experiments.md Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
footer.md only include experiments in dev and alpha releases 2025-01-16 11:55:48 +01:00
previous-releases.md Prepare main branch for post-v1.14 development (#37621) 2025-09-16 18:16:30 +01:00
README.md clean up old changeloge entries 2025-02-18 13:51:23 +01:00

Changelog

This directory contains changelog entries for each release of Terraform. The only important folder for changes is the vX.XX folder corresponding with the Terraform version released from this branch. All other folders are just there to make backports easier. You can remove folders with releases we won't allow backports for.