terraform/internal/command/testdata/show-json
Martin Atkins a1a713cf28 core: Report ActionReasons when we plan to delete "orphans"
There are a few different reasons why a resource instance tracked in the
prior state might be considered an "orphan", but previously we reported
them all identically in the planned changes.

In order to help users understand the reason for a surprising planned
delete, we'll now try to specify an additional reason for the planned
deletion, covering all of the main reasons why that could happen.

This commit only introduces the new detail to the plans.Changes result,
though it also incidentally exposes it as part of the JSON plan result
in order to keep that working without returning errors in these new
cases. We'll expose this information in the human-oriented UI output in
a subsequent commit.
2021-09-23 14:37:08 -07:00
..
basic-create Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
basic-delete core: Report ActionReasons when we plan to delete "orphans" 2021-09-23 14:37:08 -07:00
basic-update Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
drift cli: Refactor resource drift rendering 2021-09-16 15:22:37 -04:00
module-depends-on Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
modules Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
moved json-output: Previous address for resource changes 2021-09-20 15:25:23 -04:00
moved-drift json-output: Previous address for resource changes 2021-09-20 15:25:23 -04:00
multi-resource-update json-output: Previous address for resource changes 2021-09-20 15:25:23 -04:00
nested-module-error Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
nested-modules Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
provider-version Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
provider-version-no-config Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
requires-replace Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
sensitive-values Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00