-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
GitHub module source truncates branch name after slash #34771
Comments
Hi @brettcurtis, Thanks for filing the issue. The branch specifier in this syntax is part of the URL query parameters, and the The following module config initializes successfully:
|
Ok thanks bud! I could have sworn this worked fine for me in the past so i figured it was a bug. |
Hi, I am interested in working on this issue, update the documentation and believe it will help me learn more about the codebase. Could you please confirm if I can start working on it? Thank you! |
Hi @ashwin1596, thanks for offering to update the docs. Anyone can suggest changes to the docs, so feel free to do so. If this was going to be documented, I suppose it would be here: https://developer.hashicorp.com/terraform/language/modules/sources#github -- maybe just a note about making sure the URL is valid? It isn't really Terraform-specific guidance, just how to properly format URLs. I would also suggest reading https://github.com/hashicorp/terraform/blob/main/.github/CONTRIBUTING.md. Thanks! |
Howdy, at the time of this issue I was pointing out that I thought this use to work so it felt buggy. Today in terraform 1.9.2 it works again... |
That is curious, I wonder what changed. I will raise this in triage to see if we know why the behavior may have changed. |
Linking this with hashicorp/go-getter#479 per request of @jbardin. |
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. |
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
I'd expect the code to initialize.
Actual Behavior
It seems to truncate the name of my branch following the slash.
Steps to Reproduce
terraform init
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: