Browse Source

Fix incorrect format for terraform validate -var-file command

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

2
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")

Loading…
Cancel
Save