Browse Source

TF apply only if NOT dryRun.

pull/1/head
John Engelman 9 years ago
parent
commit
431099eb7d
  1. 2
      main.go

2
main.go

@ -35,7 +35,7 @@ func main() {
commands = append(commands, remoteConfigCommand(remote)) commands = append(commands, remoteConfigCommand(remote))
} }
commands = append(commands, planCommand(vargs.Vars)) commands = append(commands, planCommand(vargs.Vars))
if vargs.DryRun { if !vargs.DryRun {
commands = append(commands, applyCommand()) commands = append(commands, applyCommand())
} }

Loading…
Cancel
Save