terraform/internal/command/testdata/show-json
Bruno Schaatsbergen 098234e244
states: check root output value changes in refresh-only mode (#35812)
* check root output values when determining plan applicability in refresh mode

In refresh-only mode, we do not anticipate proposing any actions; however, a plan is marked as “applyable” if there are changes in the state between runs. Currently, a plan is considered “applyable” only when there are differences in managed resources. This approach seems to overlook changes in root output values. As a result, a plan can be marked as non-applyable, even when there are changes in the root output value, due to the lack of detected changes since only managed resources were checked.

* set 'applyable' to true
2024-10-23 15:27:53 +02:00
..
basic-create terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
basic-delete terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
basic-update terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
conditions states: check root output value changes in refresh-only mode (#35812) 2024-10-23 15:27:53 +02:00
drift terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
module-depends-on terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
modules terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
moved terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
moved-drift terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
multi-resource-update terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
nested-module-error Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
nested-modules terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
plan-error terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
provider-aliasing terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
provider-aliasing-conflict terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
provider-aliasing-default terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
provider-version terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
provider-version-no-config terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
requires-replace terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
sensitive-values terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00
unknown-output terraform: Plans can be "complete" and "applyable" 2024-02-09 09:24:27 -08:00