opentofu/internal/command/format
James Bardin 68ed50616e handle null and unknown values in attr diffs
The code adopted from block diffs was not set to handle null and unknown
values, as those are not allowed for blocks.

We also revert the change to formatting nested object types as single
attributes, because the attribute formatter cannot handle sensitive
values from the schema. This presents some awkward syntax for diffs for
now, but should suffice until the entire formatter can be refactored to
better handle these new nested types.
2021-08-18 14:12:01 -04:00
..
diagnostic_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
diagnostic.go command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
diff_test.go handle null and unknown values in attr diffs 2021-08-18 14:12:01 -04:00
diff.go handle null and unknown values in attr diffs 2021-08-18 14:12:01 -04:00
format.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
object_id_test.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
object_id.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
state_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
state.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
trivia.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00