terraform/internal/command/views/json
Alisdair McDiarmid b59b057591 json-output: Config-driven move support in JSON UI
Add previous address information to the `planned_change` and
`resource_drift` messages for the streaming JSON UI output of plan and
apply operations.

Here we also add a "move" action value to the `change` object of these
messages, to represent a move-only operation.

As part of this work we also simplify this code to use the plan's
DriftedResources values instead of recomputing the drift from state.
2021-09-20 15:25:23 -04:00
..
testdata/diagnostic command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
change.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
change_summary.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
diagnostic.go command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
diagnostic_test.go command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
hook.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
message_types.go json-output: Add resource drift to machine readable UI 2021-06-30 14:57:55 -04:00
output.go json-output: Add output changes to plan logs 2021-08-05 15:32:26 -04:00
output_test.go de-linting 2021-09-01 11:36:21 -04:00
resource_addr.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00