terraform/internal/command/format
Martin Atkins 04f9e7148c command/format: Include deletion reasons in plan report
The core runtime is now able to specify a reason for some situations when
Terraform plans to delete a resource instance.

This commit makes that information visible in the human-oriented UI. A
previous commit already made the underlying data informing these new hints
visible as part of the machine-oriented (JSON) plan output.

This also removes the bold formatting from the existing "has moved to"
hints, because subjectively it seemed like the result was emphasizing too
many parts of the output and thus somewhat defeating the benefit of the
emphasis in trying to create additional visual hierarchy for sighted users
running Terraform in a terminal. Now only the first line containing the
main action statement will be in bold, and all of the parenthesized
follow-up notes will be unformatted.
2021-09-23 14:37:08 -07:00
..
diagnostic.go command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
diagnostic_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
diff.go command/format: Include deletion reasons in plan report 2021-09-23 14:37:08 -07:00
diff_test.go command/format: Include deletion reasons in plan report 2021-09-23 14:37:08 -07:00
difflanguage_string.go cli: Refactor resource drift rendering 2021-09-16 15:22:37 -04:00
format.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
object_id.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
object_id_test.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
state.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
state_test.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