From 4253612c4bbbc8d2ca3f50d1d5950dfc3b096938 Mon Sep 17 00:00:00 2001 From: Jeff Hung Date: Wed, 6 Jun 2018 14:09:55 -0700 Subject: [PATCH] Fix var-file option for terrafrom --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 7321c03..2736675 100644 --- a/plugin.go +++ b/plugin.go @@ -286,7 +286,7 @@ func tfPlan(config Config, destroy bool) *exec.Cmd { args = append(args, "--target", fmt.Sprintf("%s", v)) } for _, v := range config.VarFiles { - args = append(args, "-var-file", fmt.Sprintf("%s", v)) + args = append(args, fmt.Sprintf("-var-file=%s", v)) } for k, v := range config.Vars { args = append(args, "-var")