duo-labs / duo-labs/cloudmapper

Error running report

Open
#615 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6.3k
Forks
836
PR merge metrics
No merged PRs in 30d

Description

"collect" ran successfully but report fails:

python cloudmapper.py report --account myaccount
* Getting resource counts
- myaccount
* Getting IAM data
- myaccount
* Getting public resource data
- myaccount
Traceback (most recent call last):
File "cloudmapper.py", line 72, in
main()
File "cloudmapper.py", line 66, in main
commands[command].run(arguments)
File "/cloudmapper/commands/report.py", line 471, in run
report(accounts, config, args)
File "/cloudmapper/commands/report.py", line 263, in report
public_nodes, _ = get_public_nodes(account, config, use_cache=True)
File "/cloudmapper/shared/public.py", line 89, in get_public_nodes
network = build_data_structure(account, config, outputfilter)
File "/cloudmapper/commands/prepare.py", line 445, in build_data_structure
nodes = get_resource_nodes(region, outputfilter)
File "/cloudmapper/commands/prepare.py", line 395, in get_resource_nodes
node = Redshift(region, node_json)
File "/cloudmapper/shared/nodes.py", line 812, in __init__
if vpc.local_id == json_blob["VpcId"]:
KeyError: 'VpcId'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.