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

Fix incorrect proxyURL with terragruntURL #135

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

crablab
Copy link
Contributor

@crablab crablab commented Nov 7, 2022

Fixed #133

I believe this function should not be called with the proxyURL (which is the URL to your cache of Terragrunt versions), instead the Terragrunt mirror URL. Ultimately this is passed through to the download function, which uses the mirrorURL (parameter) to construct the download path for a version.

This is why we sometimes see 404s (when this particular block/case is encountered) - it's trying to download the binary from this repo!

Hope the PR Is okay and this makes sense?

@crablab
Copy link
Contributor Author

crablab commented Nov 14, 2022

@warrensbox 👋 Hey! Sorry to tag. I just think this could be quite a quick an easy fix and should hopefully fix some problems folks have been reporting 🙏

@Tiduster
Copy link

This PR should also fix #132 and #139

@crablab
Copy link
Contributor Author

crablab commented Apr 21, 2023

@warrensbox Bump :)

@mholttech
Copy link

I'm running into this same issue, hope to see this PR merged or another fix soon!

@domhall
Copy link

domhall commented Jun 16, 2023

@warrensbox please merge this^

@warrensbox warrensbox merged commit 6150678 into warrensbox:master Apr 12, 2024
@crablab crablab deleted the patch-1 branch April 12, 2024 10:03
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

Successfully merging this pull request may close these issues.

Tgswitch sometimes fails with a 404 from GitHub
5 participants