Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-output: Add output changes to plan logs #29312

Merged
merged 1 commit into from
Aug 6, 2021

Commits on Aug 5, 2021

  1. 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`.
    alisdair committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    3b33dc1 View commit details
    Browse the repository at this point in the history