b4cb64d986
Terraform does not use rpc errors for any error communication, so these are always something that went wrong in outside of the plugin protocol. The most common example of which is a provider crash, which would return "rpc error: code = Unavailable desc = transport is closing". Replace these error codes with something a little more presentable for the user, and insert the calling method name to help correlate it to the operation that failed. |
||
---|---|---|
.. | ||
convert | ||
discovery | ||
mock_proto | ||
grpc_provider.go | ||
grpc_provider_test.go | ||
grpc_provisioner.go | ||
grpc_provisioner_test.go | ||
plugin.go | ||
plugin_test.go | ||
resource_provider.go | ||
resource_provider_test.go | ||
resource_provisioner.go | ||
resource_provisioner_test.go | ||
serve.go | ||
ui_input.go | ||
ui_input_test.go | ||
ui_output.go | ||
ui_output_test.go |