From 700c74bdd0ffc7569f9b745224083f1a559431d1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 1 Mar 2017 14:42:33 -0800 Subject: [PATCH] plugin: bump protocol version We changed the type of InstanceState.Meta and this will break pre-existing plugins. They simply have to recompile to work. --- plugin/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/serve.go b/plugin/serve.go index 9e5afbe21..2028a613f 100644 --- a/plugin/serve.go +++ b/plugin/serve.go @@ -19,7 +19,7 @@ var Handshake = plugin.HandshakeConfig{ // one or the other that makes it so that they can't safely communicate. // This could be adding a new interface value, it could be how // helper/schema computes diffs, etc. - ProtocolVersion: 3, + ProtocolVersion: 4, // The magic cookie values should NEVER be changed. MagicCookieKey: "TF_PLUGIN_MAGIC_COOKIE",