terraform/tfdiags
James Bardin 503c413de2 add addresses to diagnostics
Add an address argument to tfdiags.InConfigBody, and store the address
string the diagnostics details. Since nearly every place where we want
to annotate the diagnostics with the config context we also have some
sort of address, we can use the same call to insert them both into the
diagnostic.

Perhaps we should rename InConfigBody and ElaborateFromConfigBody to
reflect the additional address parameter, but for now we can verify this
is a pattern that suits us.
2021-04-06 15:15:52 -04:00
..
config_traversals.go
consolidate_warnings.go
consolidate_warnings_test.go
contextual.go add addresses to diagnostics 2021-04-06 15:15:52 -04:00
contextual_test.go add addresses to diagnostics 2021-04-06 15:15:52 -04:00
diagnostic.go add addresses to diagnostics 2021-04-06 15:15:52 -04:00
diagnostic_base.go add addresses to diagnostics 2021-04-06 15:15:52 -04:00
diagnostics.go
diagnostics_test.go
doc.go
error.go
hcl.go
hcl_test.go
rpc_friendly.go
rpc_friendly_test.go
severity_string.go
simple_warning.go
source_range.go
sourceless.go