terraform/internal/command/views
Alisdair McDiarmid 3b33dc1105 json-output: Add output changes to plan logs
Extend the outputs JSON log message to support an `action` field (and
make the `type` and `value` fields optional). This allows us to emit a
useful output change summary as part of the plan, bringing the JSON log
output into parity with the text output.

While we do have access to the before/after values in the output
changes, attempting to wedge those into a structured log message is not
appropriate. That level of detail can be extracted from the JSON plan
output from `terraform show -json`.
2021-08-05 15:32:26 -04:00
..
json json-output: Add output changes to plan logs 2021-08-05 15:32:26 -04:00
add.go remove IsMarked and ContainsMarked calls 2021-06-25 14:17:06 -04:00
add_test.go remove IsMarked and ContainsMarked calls 2021-06-25 14:17:06 -04: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 Fix flapping JSON output test 2021-07-15 12:03:01 -04:00
operation.go json-output: Add output changes to plan logs 2021-08-05 15:32:26 -04:00
operation_test.go json-output: Add output changes to plan logs 2021-08-05 15:32:26 -04:00
output.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
output_test.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
plan.go typo 2021-05-25 08:32:44 -04:00
plan_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07: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 Move command/ to internal/command/ 2021-05-17 14:09:07 -07: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