terraform/command/format
Martin Atkins 34ebde0b95 command/format: be resilient to incomplete schema when formatting state
In all real cases the schemas should be populated here, but we don't want
to panic in UI rendering code if there's a bug here.

This can also be tripped up by tests with incomplete mocks. It's
unfortunate that this can therefore mask some problems in tests, but tests
can protect against it by asserting on specific output text rather than
just assuming that a zero exit status is a pass.
2018-10-16 19:14:11 -07:00
..
diagnostic.go command/format: include source snippets in diagnostics 2018-10-16 18:20:32 -07:00
diff.go command/format: print correctly nested blocks with labels 2018-10-16 19:14:11 -07:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
plan.go core: Handle forced-create_before_destroy during the plan walk 2018-10-16 19:14:11 -07:00
state.go command/format: be resilient to incomplete schema when formatting state 2018-10-16 19:14:11 -07:00
state_test.go cli: format/state_test.go 2018-10-16 19:14:11 -07:00