mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
e25f79ed28
Even if a provider doesn't indicate a specific attribute as the cause of a resource operation error, we know the error relates to some aspect of the resource, so we'll include that approximate information in the result so that we don't produce user-hostile error messages with no context whatsoever. Later we can hopefully refine this to place the source range on the header of the configuration block rather than on an empty part of the body, but that'll require some more complex rework here and so for now we'll just accept this as an interim state so that the user can at least figure out which resource block the error is coming from. |
||
---|---|---|
.. | ||
config_traversals.go | ||
contextual_test.go | ||
contextual.go | ||
diagnostic_base.go | ||
diagnostic.go | ||
diagnostics_test.go | ||
diagnostics.go | ||
doc.go | ||
error.go | ||
hcl.go | ||
rpc_friendly_test.go | ||
rpc_friendly.go | ||
severity_string.go | ||
simple_warning.go | ||
source_range.go | ||
sourceless.go |