-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terragrunt command not found #223
Comments
Hi @gabrieloshiro, |
tenv version v3.0.0 (I edited the original post) |
reproducing same behavior with 3.0.0 |
@gabrieloshiro @Webgardener did you install tenv via snap or dpkg? |
I install tenv into docker container for pipelines using RUN curl -Lo tenv.tar.gz "https://github.com/tofuutils/tenv/releases/download/v${TENV_VERSION}/tenv_v${TENV_VERSION}_$(uname)_x86_64.tar.gz" && update-path is not working, I believe because of there are no binaries in folder /root/.tenv/bin which is exported by that command. so I had to add "ln -s /var/task/* /usr/local/bin" to make it work as binaries are present in task (for pipelines scenario) |
the proxy binaries are in the archive
|
@applevladko does it solve your issue? |
No i need to remain on version 2.7.9 of tenv, which work well. |
I'll try on the weekend 3.X version; @Webgardener which os do you use? Give me a name and version, pls |
Sorry for the late response, I installed it via snap. I also confirm that uninstalling everything and reverting to version 2.7.9 solves the issue. |
Debian GNU/Linux 12 \n \l |
Seeing this also on 2.0.8 with terraform
System is Ubuntu on WSL:
|
debian 12 |
Added this to my bash profile and it works now. NOTE: If you didn't install with snap, you'll probably have to update source_tenv () {
tenv_base_path="${HOME}/snap/tenv/current/.tenv";
for tool in $(ls "${tenv_base_path}"); do
tool_dir="${tenv_base_path}/${tool}";
if [[ -f "${tool_dir}/version" ]]; then
tool_version=$(cat "${tool_dir}/version");
export PATH="${tool_dir}/${tool_version}:${PATH}";
fi
done
}
source_tenv; |
Describe the bug
I get the message
command not found: terragrunt
After installing terragrunt via tenv
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Terragrunt is in the PATH variable and it works properly.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: