Support renovating Terrafrom Modules from private Git repositories using shallow clone URL argument #21266
Closed
Moglum
started this conversation in
Suggest an Idea
Replies: 3 comments
-
Feel free to open a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
PR created - #21287 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Resolved in #21287 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type of discussion.
I'm proposing an idea
Tell us more.
Hi folks,
Renovate already supports the following format of
source
URLs for Terraform modules:Based on Terraform documentation, users can also specify an additional
depth
argument in the URLThe currently used Regex doesn't support the argument - https://regex101.com/r/RASnRo/1
That is blocking our usage of Renovate at the moment, as we leverage shallow clone to save time during
terraform init
I propose slightly modifying the regex to allow parsing the URLs even with the
depth
argument specified https://regex101.com/r/RASnRo/2instead of
I'm ready to submit a PR with that change if you consider it a good idea.
Many thanks for considering my request.
Beta Was this translation helpful? Give feedback.
All reactions