-
-
Notifications
You must be signed in to change notification settings - Fork 998
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
Fetching a module from a branch with / is broken when github.com us the source #2473
Comments
Further testing has shown the following does work
For now we can switch to this but the original version should work. |
I ran into this issue today using a Github workflow |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for raising this issue. |
Hey @lazzurs + @kamranrana-hi , As mentioned in the linked PR closing this issue, there's a quick workaround available by escaping Let me know if that helps! |
When using github.com as a source for a module in a sub directory the following works.
But this does not.
The first version will run apply and plan as expected. The second version brings the following error.
`ERRO[0001] 1 error occurred:
* error downloading 'https://github.com/xxx/infrastructure-modules.git?ref=feat': /opt/homebrew/bin/git exited with 1: error: pathspec 'feat' did not match any file(s) known to git
ERRO[0001] Unable to determine underlying exit code, so Terragrunt will exit with error code 1`
Something appears to be removing the / from the branch name.
The text was updated successfully, but these errors were encountered: