6cc3e1d0bd
The init error was output deep in the backend by detecting a special ResourceProviderError and formatted directly to the CLI. Create some Diagnostics closer to where the problem is detected, and passed that back through the normal diagnostic flow. While the output isn't as nice yet, this restores the helpful error message and makes the code easier to maintain. Better formatting can be handled later. |
||
---|---|---|
.. | ||
test-fixtures | ||
backend.go | ||
backend_apply.go | ||
backend_apply_test.go | ||
backend_local.go | ||
backend_plan.go | ||
backend_plan_test.go | ||
backend_refresh.go | ||
backend_refresh_test.go | ||
backend_test.go | ||
cli.go | ||
counthookaction_string.go | ||
hook_count.go | ||
hook_count_action.go | ||
hook_count_test.go | ||
hook_state.go | ||
hook_state_test.go | ||
local_test.go | ||
testing.go |