Open dhirensham opened 3 years ago
Hello @dhirensham , could this be somehow related to https://github.com/duo-labs/cloudmapper/issues/845 ?
Same problem on osx
Right @wonderg ! Because the problem is with Python and the code, not with the OS!
The error at leat in my case was here https://github.com/duo-labs/cloudmapper/blob/main/shared/nodes.py#L336 as for GatewayLoadBalancer
typed VpcEndpoints you don't get .Groups[].GroupI
.
I did a dirty try
, and bare except
with a return of an empty {}
only so don't dare to PR it, but wanted to share at least the why...
I've tried this in both linux (WSL2 under Win10 in case it makes any difference) as well as Docker with the same results. The
collect
command runs successfully. I then run thefind_unused
command which fails with the following stack trace:I get the same error and stack trace from the Docker instance as well. I did see from #617 that the
find_unused
command is barely used, but the main reason I've been looking into this sort of application is to help identify unused resources from a cost management perspective rather than security audit. So for me, finding orphaned resources that don't link back to running instances is the primary goal.NB: the
collect
command does return some errors... it doesn't look like those are related to thefind_unused
issue at all, but including them just in case: