terraform/internal/command/jsonformat/structured
James Bardin bdd5a2cd33 try to render some empty string -> null changes
Changes between empty strings and `null` were hidden in the CLI output,
because the SDK could not reliably detect the difference and may return
either value depending on the situation.

This legacy behavior can be confusing for authors of new provider which
can correctly handle `null`, and it would be preferable to be able to
render those changes in the CLI.

While we don't have enough information to detect when the legacy
behavior is required, we can detect a number of cases where it's
certain that we are not dealing with a legacy schema and should output
the full diff.
2024-02-27 16:59:06 -05:00
..
attribute_path Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
change.go try to render some empty string -> null changes 2024-02-27 16:59:06 -05:00
doc.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
map.go try to render some empty string -> null changes 2024-02-27 16:59:06 -05:00
sensitive.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
slice.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
unknown.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00