terraform/internal/command/testdata/show-json
Alisdair McDiarmid 3326ab7dae json-output: Omit unchanged resource_drift entries
Previously, if any resources were found to have drifted, the JSON plan
output would include a drift entry for every resource in state. This
commit aligns the JSON plan output with the CLI UI, and only includes
those resources where the old value does not equal the new value---i.e.
drift has been detected.

Also fixes a bug where the "address" field was missing from the drift
output, and adds some test coverage.
2021-06-17 15:09:16 -04:00
..
basic-create jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
basic-delete jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
basic-update jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
drift json-output: Omit unchanged resource_drift entries 2021-06-17 15:09:16 -04:00
module-depends-on jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
modules jsonconfig: properly unwind and enumerate references (#28884) 2021-06-14 09:22:22 -04:00
multi-resource-update json-output: Omit unchanged resource_drift entries 2021-06-17 15:09:16 -04:00
nested-module-error
nested-modules jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
provider-version jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
provider-version-no-config jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
requires-replace jsonplan and jsonstate: include sensitive_values in state representations (#28889) 2021-06-14 09:19:13 -04:00
sensitive-values jsonconfig: properly unwind and enumerate references (#28884) 2021-06-14 09:22:22 -04:00