Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: unsupported format string passed to numpy.ndarray.__format__

Traceback (most recent call last):


 "/usr/local/bin/checkov", line 5, in <module>

run()


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/main.py", line 63, in run

files=file)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/common/runners/runner_registry.py", line 21, in run

scan_report = runner.run(root_folder, external_checks_dir=external_checks_dir, files=files)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/terraform/runner.py", line 46, in run

self.check_tf_definition(report, root_folder)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/terraform/runner.py", line 86, in check_tf_definition

block_type)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/terraform/runner.py", line 108, in run_block

skipped_checks)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/common/checks/base_check_registry.py", line 49, in scan

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


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/common/checks/base_check.py", line 44, in run

raise e


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/common/checks/base_check.py", line 33, in run

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


 "/usr/local/Cellar/checkov/1.0.271/libexec/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)


 "/usr/local/Cellar/checkov/1.0.271/libexec/lib/python3.7/site-packages/checkov/terraform/checks/resource/aws/PasswordPolicyReuse.py", line 22, in scan_resource_conf

if conf[key][0] >= 24:
TypeError: '>=' not supported between instances of 'str' and 'int'`
