Skip to content
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

Automatic download with tgswitch 0.6.0 not working #139

Open
Tiduster opened this issue Mar 20, 2023 · 1 comment
Open

Automatic download with tgswitch 0.6.0 not working #139

Tiduster opened this issue Mar 20, 2023 · 1 comment

Comments

@Tiduster
Copy link

Tiduster commented Mar 20, 2023

Hello !
On my fedora, tgswitch automatic download feature is not working:

$ tgswitch
Terragrunt file found: /home/cpatry/GIT/si-paiement/terraform/terragrunt.hcl
Reading required version from constraint: >= 0.36, < 0.36.1
Matched version: 0.36.0
Installing terragrunt at /home/cpatry/bin
Downloading https://warrensbox.github.io/terragunt-versions-list/index.json/v0.36.0/terragrunt_linux_amd64 to terragrunt_linux_amd64
Downloading ...
9339 bytes downloaded.
Switched terragrunt to version "0.36.0" 

$ tgswitch 0.36.0
Installing terragrunt at /home/cpatry/bin
Switched terragrunt to version "0.36.0" 

$ rm ~/.terragrunt.versions/terragrunt_0.36.0
$ tgswitch 0.36.0
Installing terragrunt at /home/cpatry/bin
Downloading https://github.com/gruntwork-io/terragrunt/releases/download/v0.36.0/terragrunt_linux_amd64 to terragrunt_linux_amd64
Downloading ...
36462548 bytes downloaded.
Switched terragrunt to version "0.36.0"

The first time, tgswitch download the file from the wrong repo? And I obtained only a 404 HTML file.

If I just ask for a specific version, the binary is downloaded correctly (look at the size in bytes)

Thanks for the tool.

@Tiduster
Copy link
Author

Sorry, I checked before posting but I didn't understand the use of the term proxy at first.
So, my issue is a duplicate of #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant