terraform/command/testdata/show-json/basic-delete
Alisdair McDiarmid 5e30d58dc2 command/jsonplan: Add output change sensitivity
When an output value changes, we have a small amount of information we
can convey about its sensitivity. If either the output was previously
marked sensitive, or is currently marked sensitive in the config, this
is tracked in the output change data.

This commit encodes this boolean in the change struct's
`before_sensitive` and `after_sensitive` fields, in the a way which
matches resource value sensitivity. Since we have so little information
to work with, these two values will always be booleans, and always equal
each.

This is logically consistent with how else we want to obscure sensitive
data: a changing output which was or is marked sensitive should not have
the value shown in human-readable output.
2021-03-26 19:26:11 -04:00
..
main.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
output.json command/jsonplan: Add output change sensitivity 2021-03-26 19:26:11 -04:00
terraform.tfstate Revert "fix show -json tests" 2020-09-21 16:17:45 -04:00