mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #51] Unable to clone versioned modules #23
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bengels00 on GitHub (Aug 23, 2023).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/51
When trying to clone https://module?ref=foo, terravision errors while cloning without appending ?ref=foo to the URL works.
Example:
@patrickchugh commented on GitHub (Aug 23, 2023):
Thanks this will be fixed soon
@patrickchugh commented on GitHub (Aug 26, 2023):
@bengels00 Can you git pull the latest code and try again with my latest fix?
@bengels00 commented on GitHub (Aug 26, 2023):
@patrickchugh Getting our modules with ?ref=xyz suffix works now, nice! But now I'm stumbling over the following issue:
(We don't use terraform enterprise at all.)
@patrickchugh commented on GitHub (Aug 26, 2023):
Updated the code, can you try again?
@patrickchugh commented on GitHub (Aug 26, 2023):
@bengels00 The issue was the missing "http" prefix
@bengels00 commented on GitHub (Aug 26, 2023):
@patrickchugh well, module downloading went like a charm, now.
Unfortunately the python process is taking ~100% CPU since more than 20 minutes and has not come to some result
@bengels00 commented on GitHub (Aug 26, 2023):
Module downloading is fixed.
@patrickchugh commented on GitHub (Aug 26, 2023):
It's probably an infinite loop and the logic interpreter has hung. If you can share the Terraform files you are using I can try to fix it ?
@patrickchugh commented on GitHub (Aug 26, 2023):
@bengels00 you can remove any sensitive data if needed or just share the source for the last module it hung on
@bengels00 commented on GitHub (Aug 26, 2023):
@patrickchugh I'd love helping to dig deeper into this, but the tf code is ~6k lines, ~250 resources, multiple times calling sub-modules, with resource names and filenames pointing to the name of our customer, the software they're using etc.
I can't even exactly identify in which module it's hanging. terravision is processing
aws_ecs_service._but that's a resource being created in 6 different module invocations and I don't see which invocation is the affected one. If I'd knew which one it is, I'd clean up the relevant terraform parts from customer references/sensitive data and supply them.@patrickchugh commented on GitHub (Aug 27, 2023):
@bengels00 let me work on a fix that tells you the offending line and resources. Will get back to you soon