terraform/plugin
James Bardin b4cb64d986 convert rpc errors
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.
2020-10-23 19:14:59 -04:00
..
convert Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00
discovery plugin/discovery: Remove dead code 2020-05-28 15:20:41 -04:00
mock_proto Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
grpc_provider.go convert rpc errors 2020-10-23 19:14:59 -04:00
grpc_provider_test.go handle empty json 2020-10-19 09:31:37 -04:00
grpc_provisioner.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
grpc_provisioner_test.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
plugin.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider.go Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00
resource_provider_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
resource_provisioner.go unreachable 2020-10-14 14:09:17 -04:00
resource_provisioner_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
serve.go Bump installer protocol version to 5 and separate client and server protocol references 2019-01-16 15:07:57 -06:00
ui_input.go core: add a context to the UIInput interface 2019-03-08 10:24:40 +01:00
ui_input_test.go core: add a context to the UIInput interface 2019-03-08 10:24:40 +01:00
ui_output.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00