Hang on recursive terraform module #5086
Closed
sebastianblunt
started this conversation in
Bugs
Replies: 2 comments
-
thanks for the report, we'll convert this into an issue as I can reproduce it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sebastianblunt Track #5121 |
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
-
Description
trivy seems to hang on recursive terraform modules, even exceeding
--timeout
.It also seems to happen if you have a module that references a child module such that the reference to the child module is the same as the path to the outer module relative to where trivy is run from AND the inner child module is missing. This can be reproduced with reproduction steps (2).
Desired Behavior
trivy to exit.
Actual Behavior
trivy hangs indefinitely.
Reproduction Steps
Run
trivy config .
OR
(2) A file named
foo/foo.tf
with contentsand no other files. Run
trivy config .
from the outer directory.Operating System
Linux
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions