Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

KeyError in rules/preprocessing.py #295

Closed
andresriancho opened this issue Sep 10, 2018 · 2 comments
Closed

KeyError in rules/preprocessing.py #295

andresriancho opened this issue Sep 10, 2018 · 2 comments

Comments

@andresriancho
Copy link

andresriancho commented Sep 10, 2018

Traceback (most recent call last):
  File "/home/andres/tools/virtualenvs/scout2/local/lib/python2.7/site-packages/AWSScout2-3.2.1-py2.7.egg/AWSScout2/rules/preprocessing.py", line 632, in new_go_to_and_do
    callback(aws_config, current_config[key][value], path, current_path, value, callback_args)
  File "/home/andres/tools/virtualenvs/scout2/local/lib/python2.7/site-packages/AWSScout2-3.2.1-py2.7.egg/AWSScout2/rules/preprocessing.py", line 537, in sort_vpc_flow_logs_callback
    subnet_path = combine_paths(current_path[0:4], ['vpcs', subnet_map[attached_resource]['vpc_id'], 'subnets', attached_resource])
KeyError: u'subnet-fd136d8a'
@x4v13r64
Copy link
Contributor

Could you please provide more details about the issue (full output with --debug flag) please.

@x4v13r64
Copy link
Contributor

Merged into #296.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants