terraform/command/format
Martin Atkins 17b883f592 command/format: Include variable values in diagnostic messages
When HCL encounters an error during expression evaluation, it annotates
its diagnostics with information about the expression that was being
evaluated and the EvalContext it was evaluated in.

This gives us enough information to show helpful hints to the user about
the final values of any reference expressions that are present in the
expression, which is very useful extra context for expressions that get
evaluated multiple times, such as:
- Any expression in a block with "count" or "for_each" set
- The sub-expressions within a "for" expression
2018-10-18 17:12:01 -07:00
..
diagnostic.go command/format: Include variable values in diagnostic messages 2018-10-18 17:12:01 -07:00
diff.go check IsKnown on values that may panic 2018-10-18 19:21:32 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07: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