terraform/internal/command/views
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
..
json json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
add.go Merge pull request #29235 from magodo/terraform_add_output_append 2021-09-17 11:19:55 -04:00
add_test.go command: "terraform add" is experimental 2021-08-19 09:27:30 -07:00
apply.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
apply_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
hook_count.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_count_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_json.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_json_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_ui.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_ui_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
json_view.go json-output: Add resource drift to machine readable UI 2021-06-30 14:57:55 -04:00
json_view_test.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
operation.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
operation_test.go json-output: Config-driven move support in JSON UI 2021-09-20 15:25:23 -04:00
output.go de-linting 2021-09-01 11:36:21 -04:00
output_test.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
plan.go cli: Omit move-only drift, except for refresh-only 2021-09-17 14:47:00 -04:00
plan_test.go command: Render "moved" annotations in plan UI 2021-09-03 17:44:07 -04:00
refresh.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
refresh_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
show.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
state_locker.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
validate.go Revert "json-output: Release format version 1.0" 2021-09-09 11:25:35 -04:00
validate_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
view.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00