mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-24 23:30:39 +00:00
TF apply only if NOT dryRun.
This commit is contained in:
parent
64d142149b
commit
431099eb7d
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…
Reference in New Issue
Block a user