From 0365dccf992b24d999502a983b3ff96493b71430 Mon Sep 17 00:00:00 2001 From: Jeff Hung Date: Thu, 7 Jun 2018 11:24:21 -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 ef8c94c..9eba2fc 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=%s", fmt.Sprintf("%s", v)) + args = append(args, fmt.Sprintf("-var-file=%s", v)) } for k, v := range config.Vars { args = append(args, "-var")