terraform/command/testdata/show-json
Alisdair McDiarmid e27aacebf9 command/jsonplan: Add sensitive value mapping data
Similar to `after_unknown`, `before_sensitive` and `after_sensitive` are
values with similar structure to `before` and `after` which encode the
presence of sensitive values in a planned change. These should be used
to obscure sensitive values from human-readable output.

These values follow the same structure as the `before` and `after`
values, replacing sensitive values with `true`, and non-sensitive values
with `false`. Following the `after_unknown` precedent, we omit
non-sensitive `false` values for object attributes/map values, to make
serialization more compact.

One difference from `after_unknown` is that a sensitive complex value
(collection or structural type) is replaced with `true`. If the complex
value itself is sensitive, all of its contents should be obscured.
2021-03-26 19:26:10 -04:00
..
basic-create command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
basic-delete command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
basic-update command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
module-depends-on command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
modules command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
multi-resource-update command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
nested-module-error fix show-json test to expect error from nested mod 2019-07-16 21:30:04 -04:00
nested-modules command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
provider-version command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
provider-version-no-config command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00
sensitive-values command/jsonplan: Add sensitive value mapping data 2021-03-26 19:26:10 -04:00