From b173a5c707a04ce321f8075cad9cc38a5796302e Mon Sep 17 00:00:00 2001 From: Jeff Hung Date: Thu, 7 Jun 2018 11:03:18 -0700 Subject: [PATCH] Fix incorrect format for terraform validate -var-file command --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 2736675..ef8c94c 100644 --- a/plugin.go +++ b/plugin.go @@ -312,7 +312,7 @@ func tfValidate(config Config) *exec.Cmd { "validate", } for _, v := range config.VarFiles { - args = append(args, "-var-file", fmt.Sprintf("%s", v)) + args = append(args, "-var-file=%s", fmt.Sprintf("%s", v)) } for k, v := range config.Vars { args = append(args, "-var")