diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/plugin/client.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/plugin/client.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/vendor/github.com/hashicorp/terraform/plugin/client.go b/vendor/github.com/hashicorp/terraform/plugin/client.go index 7e2f4fe..0eab538 100644 --- a/vendor/github.com/hashicorp/terraform/plugin/client.go +++ b/vendor/github.com/hashicorp/terraform/plugin/client.go | |||
@@ -19,11 +19,13 @@ func ClientConfig(m discovery.PluginMeta) *plugin.ClientConfig { | |||
19 | }) | 19 | }) |
20 | 20 | ||
21 | return &plugin.ClientConfig{ | 21 | return &plugin.ClientConfig{ |
22 | Cmd: exec.Command(m.Path), | 22 | Cmd: exec.Command(m.Path), |
23 | HandshakeConfig: Handshake, | 23 | HandshakeConfig: Handshake, |
24 | Managed: true, | 24 | VersionedPlugins: VersionedPlugins, |
25 | Plugins: PluginMap, | 25 | Managed: true, |
26 | Logger: logger, | 26 | Logger: logger, |
27 | AllowedProtocols: []plugin.Protocol{plugin.ProtocolGRPC}, | ||
28 | AutoMTLS: true, | ||
27 | } | 29 | } |
28 | } | 30 | } |
29 | 31 | ||