opentofu/command/e2etest
Kristin Laemmert 7b7273e3aa
Add support for plugin protocol v6 (#27826)
* Add support for plugin protocol v6

This PR turns on support for plugin protocol v6. A provider can
advertise itself as supporting protocol version 6 and terraform will
use the correct client.

Todo:

The "unmanaged" providers functionality does not support protocol
version, so at the moment terraform will continue to assume that
"unmanaged" providers are on protocol v5. This will require some
upstream work on go-plugin (I believe).

I would like to convert the builtin providers to use protocol v6 in a
future PR; however it is not necessary until we remove protocol v6.

* add e2e test for using both plugin protocol versions

- copied grpcwrap and made a version that returns protocol v6 provider
- copied the test provider, provider-simple, and made a version that's
  using protocol v6 with the above fun
- added an e2etest
2021-02-22 10:22:45 -05:00
..
testdata Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
.gitignore command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
automation_test.go cleanup error handling and some for loops 2020-12-02 13:59:19 -05:00
doc.go command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
init_test.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
main_test.go [WIP] Re-enable the end-to-end tests (#20044) 2019-04-29 13:03:24 -04:00
make-archive.sh Standardise directory name for test data 2019-06-30 10:16:15 +02:00
primary_test.go backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
provider_dev_test.go command: Use different warning messaging in init command and move above potentially confusing output (#27514) 2021-02-01 10:50:08 -05:00
provider_plugin_test.go Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
providers_mirror_test.go e2etest staticcheck 2020-12-02 13:59:19 -05:00
provisioner_plugin_test.go Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
provisioner_test.go builtin provisioner e2e test 2021-01-19 17:48:30 -05:00
remote_state_test.go e2e test for remote state read 2020-06-24 14:09:59 -04:00
strip_ansi.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
unmanaged_test.go cleanup error handling and some for loops 2020-12-02 13:59:19 -05:00
version_test.go remove old version call site 2020-12-02 12:45:00 -05:00