Browse Source

Fix var-file option for terrafrom

pull/68/head
Jeff Hung 7 years ago
parent
commit
4253612c4b
  1. 2
      plugin.go

2
plugin.go

@ -286,7 +286,7 @@ func tfPlan(config Config, destroy bool) *exec.Cmd {
args = append(args, "--target", fmt.Sprintf("%s", v)) args = append(args, "--target", fmt.Sprintf("%s", v))
} }
for _, v := range config.VarFiles { 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 { for k, v := range config.Vars {
args = append(args, "-var") args = append(args, "-var")

Loading…
Cancel
Save