Browse Source

Merge 0365dccf99 into 08402ee4d0

pull/68/merge
jeffcfhung 7 years ago
committed by GitHub
parent
commit
3aec6050ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      plugin.go

4
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")
@ -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, fmt.Sprintf("-var-file=%s", v))
}
for k, v := range config.Vars {
args = append(args, "-var")

Loading…
Cancel
Save