craigmonson / colonize

A terraform tool to manage environment driven templating.
MIT License
20 stars 5 forks source link

remove .terraform dir #29

Closed jyore closed 7 years ago

jyore commented 7 years ago

The .terraform was not being removed because it did not have the -r flag. I just added the flag as it will not hurt for removing the single files.

Also, it would be more efficient to just do:

util.RunCmd("rm", "-rf", strings.Join(filesToClean, " "))

instead of the loop. thoughts?