Traceback (most recent call last):


 "/Users/jakub/Development/GIT_REPO/tfenv/bin/checkov", line 5, in <module>

run()


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/main.py", line 76, in run

files=file)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/common/runners/runner_registry.py", line 26, in run

runner_filter=self.runner_filter)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/terraform/runner.py", line 50, in run

self.check_tf_definition(report, root_folder, runner_filter)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/terraform/runner.py", line 91, in check_tf_definition

block_type, runner_filter)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/terraform/runner.py", line 113, in run_block

results = registry.scan(scanned_file, entity, skipped_checks, runner_filter)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/common/checks/base_check_registry.py", line 64, in scan

result = self.run_check(check, entity_configuration, entity_name, entity_type, scanned_file, skip_info)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/common/checks/base_check_registry.py", line 71, in run_check

entity_name=entity_name, entity_type=entity_type, skip_info=skip_info)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/common/checks/base_check.py", line 44, in run

raise e


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/common/checks/base_check.py", line 33, in run

check_result['result'] = self.scan_entity_conf(entity_configuration)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/terraform/checks/resource/base_resource_check.py", line 20, in scan_entity_conf

return self.scan_resource_conf(conf)


 "/Users/jakub/Development/GIT_REPO/tfenv/lib/python3.7/site-packages/checkov/terraform/checks/resource/gcp/**GoogleComputeFirewallUnrestrictedIngress3389.py**", line 22, in scan_resource_conf

allow_blocks = conf['allow']
KeyError: 'allow'

Traceback (most recent call last):


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/cli.py", line 2610, in handle

sys.exit(cli.handle())


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/cli.py", line 505, in handle

self.dispatch_command(self.command, stage)


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/cli.py", line 549, in dispatch_command

self.update(self.vargs['zip'], self.vargs['no_upload'])


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/cli.py", line 877, in update

self.create_package()


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/cli.py", line 2171, in create_package

disable_progress=self.disable_progress


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/zappa/core.py", line 447, in create_lambda_zip

import pip


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pip/__init__.py", line 45, in <module>

from pip.vcs import git, mercurial, subversion, bazaar
# noqa


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pip/vcs/mercurial.py", line 9, in <module>

from pip.download import path_to_url


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pip/download.py", line 40, in <module>

from pip._vendor import requests, six


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pip/_vendor/requests/__init__.py", line 98, in <module>

from . import packages


 "/Users/rhyspowell/.pyenv/versions/3.6.2/lib/python3.6/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>

sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'
