terraform-switcher icon indicating copy to clipboard operation
terraform-switcher copied to clipboard

put terraform symlink into the directory of tfswitch itself

Open toralf opened this issue 3 years ago • 1 comments

Would help to not weaken the permissions of the /usr/local/bin directory + does not need the -b switch ;)

toralf avatar Apr 07 '21 07:04 toralf

BTW the install script mention that BINDIR is set to "./bin" but it is rather /usr/local/bin, or? And -b needs to be the complete symlink file name, not only the dir where the symlink resides, or ?

toralf avatar Apr 07 '21 13:04 toralf

Do you mean to change the default behaviour? With the -b/--bin parameter, which would be the full path to the symlink created, you could always choose the target for the symlink.

MatrixCrawler avatar Apr 22 '24 19:04 MatrixCrawler

pffrr - report was 3 yrs ago

Currently I put terraform into the $HOME/bin directory rather than in /usr/local/bin, where only root is allowed to write into it. This works well.

toralf avatar Apr 22 '24 20:04 toralf

Closing as resolved then. Thanks for reporting back and apologies for the long delay 🤷🏻

yermulnik avatar Apr 22 '24 20:04 yermulnik