From 622c1a651b52effa2a49386433fca4403feb3f58 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Wed, 7 Sep 2022 23:24:08 +0900 Subject: [PATCH] Bump protocol version (#188) --- README.md | 2 +- plugin/host2plugin/plugin.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0829ca6..1044f1a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ NOTE: This plugin system is experimental. This means that API compatibility is f ## Requirements -- TFLint v0.35+ +- TFLint v0.40+ - Go v1.19 ## Usage diff --git a/plugin/host2plugin/plugin.go b/plugin/host2plugin/plugin.go index f15987c..9ab06d8 100644 --- a/plugin/host2plugin/plugin.go +++ b/plugin/host2plugin/plugin.go @@ -11,7 +11,7 @@ import ( // handShakeConfig is used for UX. ProcotolVersion will be updated by incompatible changes. var handshakeConfig = plugin.HandshakeConfig{ - ProtocolVersion: 10, + ProtocolVersion: 11, MagicCookieKey: "TFLINT_RULESET_PLUGIN", MagicCookieValue: "5adSn1bX8nrDfgBqiAqqEkC6OE1h3iD8SqbMc5UUONx8x3xCF0KlPDsBRNDjoYDP", }