tgswitch icon indicating copy to clipboard operation
tgswitch copied to clipboard

Fix incorrect proxyURL with terragruntURL

Open crablab opened this issue 1 year ago • 5 comments

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 avatar Nov 07 '22 14:11 crablab