0.62.0 Can't use ElementIterator on unknown value #8812
Closed
JulesClaussen
started this conversation in
Bugs
Replies: 1 comment
-
|
Fixed in #8808 will be out in the next Trivy patch release. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Since version 0.62.0, we have this issue for some modules, using ElementIterator:
panic: can't use ElementIterator on unknown valueThe bit of code that makes it crash: https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/dedc7369e53cb5926475ab03536d08fe8d52f4a9/main.tf#L299
Desired Behavior
The scan should work as expected and not crash.
Actual Behavior
When running trivy config, trivy crashes with the error
panic: can't use ElementIterator on unknown valueReproduction Steps
Then run a trivy config on it:
trivy config test-lambda.tf --debugIt crashes with the log below.
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions