-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Module directories ending with "tgz" fail when running terraform get #11438
Comments
FYI, the obvious workaround is to rename module, but it still seems like a bug |
As a practical exercise, I poked around and found the code to be here: And the map is here: So yep, only checking for ext at the end and not .ext. |
Good bug. You can also force a specific getter type with a |
Fixes hashicorp/terraform#11438 Decompressors were suffix checking only for the extension WITHOUT a period. This was causing directories and files ending with that to be treated as an archive incorrectly.
Fix is queued up in PR. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This is a bug report. Steps to reproduce:
terraform get
Result:
What is happening:
Possible fix:
check for ".tgz" instead of "tgz" ?
The text was updated successfully, but these errors were encountered: