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

Error: Failed to download module #2

Open
richardj-bsquare opened this issue Jan 10, 2020 · 2 comments
Open

Error: Failed to download module #2

richardj-bsquare opened this issue Jan 10, 2020 · 2 comments

Comments

@richardj-bsquare
Copy link

Upon return to work after the new year I've started getting the following issue...

Could not download module "staticweb"
(../module/storage.tf:24) source code from
"https://api.github.com/repos/StefanSchoof/terraform-azurerm-static-website/tarball/0.0.4//*?archive=tar.gz":
Error opening a gzip reader for /tmp/getter326954289/archive: EOF.

Are you seeing this, or have seen this in the past?

I've made no changes to the previously working terraform, but obviously the terraform providers, etc. may have moved along since.

Version:

Terraform v0.12.18
+ provider.acme v1.5.0
+ provider.archive v1.3.0
+ provider.aws v2.33.0
+ provider.azurerm v1.36.1
+ provider.dns v2.2.0
+ provider.external v1.2.0
+ provider.null v2.1.2
+ provider.random v2.2.1
+ provider.slack (unversioned)
+ provider.template v2.1.2
+ provider.tls v2.1.1
@richardj-bsquare
Copy link
Author

Nevermind, must have been a glitch in GitHub, since today it isn't happening...

@richardj-bsquare
Copy link
Author

richardj-bsquare commented Jan 22, 2020

Actually the issue turns out to be a change in the terraform registry and module handling, which only affects terraform < 0.12.19 ... Workaround is to check out this module using a github direct URL (i.e. clone URL), rather than via the github shortcut.

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