mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #103] Unable to handle module iam-role-for-service-accounts-eks #49
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#49
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 @Multox on GitHub (Feb 8, 2024).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/103
I'm using this module: https://registry.terraform.io/modules/terraform-aws-modules/iam/aws/latest/submodules/iam-role-for-service-accounts-eks
Usage is like this:
When running Terravision it generates this error
The error is correct, there are indeed no .tf files in the location "./.terraform/modules/load_balancer_irsa"
This is because the module is actually at ./.terraform/modules/load_balancer_irsa/modules/iam-role-for-service-accounts-eks
I don't know if there's a work-around, but I am using the module correctly according to the example in the documentation. (The deployment does work)
Btw, thanks for making this project! It looks great and I'm looking forward to seeing my architecture diagrammed by this!
@crockie commented on GitHub (Jun 10, 2024):
I am also experiencing the same issues with the use of modules.
@Multox I found the bug in
fileparser.pyand it appears that under theiterative_parsefunction, and in the module section, it should callfind_tf_fileswith therecursiveparam set to true. With the above changes, the program is able to find all the tf files in the modules folder.@patrickchugh However, the program is now stuck in
Processing resources@crnakad commented on GitHub (Jun 12, 2024):
I managed to make it work when setting the
recursiveparam to true, but I am gettingUnhandled error: <class 'RecursionError'>, maximum recursion depth exceeded while calling a Python objectlater on inProcessing resourcesIncreasing the system recursion limit results in a
Segmentation fault (core dumped)error@patrickchugh commented on GitHub (Dec 16, 2025):
Can you check with the latest version please?
@patrickchugh commented on GitHub (Jan 3, 2026):
@crockie @crnakad @Multox EKS and Karpenter support is working now. Closing this issue.