terraenv icon indicating copy to clipboard operation
terraenv copied to clipboard

Custom installation location - non-admin privileges

Open jimsmith opened this issue 4 years ago • 3 comments

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

jimsmith avatar Jun 16 '20 08:06 jimsmith

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

aaratn avatar Jun 16 '20 08:06 aaratn

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

jimsmith avatar Feb 17 '21 17:02 jimsmith

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.

nbirnel avatar May 13 '21 16:05 nbirnel