aaratn / terraenv

Terraform & Terragrunt Version Manager
MIT License
85 stars 12 forks source link

Custom installation location - non-admin privileges #11

Open jimsmith opened 4 years ago

jimsmith commented 4 years ago

Hello,

For non admin users with limited privileges on our computers please have a switch that overrides the location of terraform and terragrunt.

https://github.com/warrensbox/terraform-switcher and https://github.com/warrensbox/tgswitch allows this.

And this single tool terraenv would be much better as not all of us have admin privileges

aaratn commented 4 years ago

Thanks for the feedback @jimsmith . I will take care of this in next release.

jimsmith commented 3 years ago

@aaratn will there be a release soon for this feature ?

nbirnel commented 3 years ago

Hello @aaratn I'd like to work on this if you'll take a pull request for it. I was thinking a config file in ~/.terraenv with something like PATH=~/.terraenv/bin and then pass the PATH in to install, uninstall, use as part of args. Continue to default to /usr/local/bin. Then update the user docs and output messages to use the new feature.