pwillis-els / terraformsh

A wrapper for Terraform in Bash
MIT License
66 stars 12 forks source link

Fix location of default plan file #6

Closed pwillis-els closed 2 years ago

pwillis-els commented 2 years ago

I'm not sure when this happened, but the location of the plan file changed from the current directory you run terraformsh from, to the root module directory.

I chose to put it in the current directory so that it's both easier to identify plan files when they're created, and to keep the module directory free of extraneous/temporary files.

This will be a breaking change for those who expect the previous behavior (plan files going into the module directory)

pwillis-els commented 2 years ago

modified the tests to try to catch this better