17b883f592
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 |
||
---|---|---|
.. | ||
diagnostic.go | ||
diff.go | ||
format.go | ||
object_id.go | ||
object_id_test.go | ||
plan.go | ||
state.go | ||
state_test.go |