terraform/plugin
Martin Atkins eed605ac05 [WIP] Re-enable the end-to-end tests (#20044)
* internal/initwd: Allow deprecated relative module paths

In Terraform 0.11 we deprecated this form but didn't have any explicit
warning for it. Now we'll still accept it but generate a warning. In a
future major release we will drop this form altogether, since it is
ambiguous with registry module source addresses.

This codepath is covered by the command/e2etest suite.

* e2e: Skip copying .exists file, if present

We use this only in the "empty" test fixture in order to let git know that
the directory exists. We need to skip copying it so that we can test
"terraform init -from-module=...", which expects to find an empty
directory.

* command/e2etests: Re-enable and fix up the e2etest "acctests"

We disabled all of the tests that accessed remote services like the
Terraform Registry while they were being updated to support the new
protocols we now expect. With those services now in place, we can
re-enable these tests.

Some details of exactly what output we print, etc, have intentionally
changed since these tests were last updated.

* e2e: refactor for modern states and plans

* command/e2etest: re-enable e2etests and update for tf 0.12 compatibility
plugin/discovery: mkdirAll instead of mkdir when creating cache dir
2019-04-29 13:03:24 -04:00
..
convert configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
discovery [WIP] Re-enable the end-to-end tests (#20044) 2019-04-29 13:03:24 -04:00
mock_proto build: Run "go generate" in modules mode 2019-02-06 11:19:44 -08:00
client.go enable Auto mTLS in go-plugin 2018-12-05 20:30:16 -05:00
grpc_provider.go use LegacyResourceSchema 2019-04-08 16:45:35 -04:00
grpc_provider_test.go add 3rd param to mock call 2019-04-02 16:11:32 -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 plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08: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 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