terraform/plugin
Martin Atkins e25f79ed28 plugin/convert: Show approximate location context for all provider errors
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.
2018-10-16 19:14:54 -07:00
..
convert plugin/convert: Show approximate location context for all provider errors 2018-10-16 19:14:54 -07:00
discovery plugin/discovery: Use mockos_mockarch when testing installation 2018-10-16 19:14:54 -07:00
mock_proto generate mocks for some of the grpc interfaces 2018-10-16 18:58:49 -07:00
proto grpc proto fixes 2018-10-16 18:58:49 -07:00
client.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00
grpc_provider.go start work on helper/resource test fixtures 2018-10-16 19:14:11 -07:00
grpc_provider_test.go GRPCProvider and GRPCProvisioner clients 2018-10-16 18:58:49 -07:00
grpc_provisioner.go update provisioners for multiple processes 2018-10-16 19:14:11 -07:00
grpc_provisioner_test.go move conversion functions into separate package 2018-10-16 19:11:09 -07: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 serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
resource_provider_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
resource_provisioner.go serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
resource_provisioner_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
serve.go plugin: Register v5 plugins only if present 2018-10-16 19:14:11 -07:00
ui_input.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_input_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04: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