When running pytest ./python/CLOUDFRONT_WEB_ACL_CHECK , the tests fail due to:
FAILED python/CLOUDFRONT_WEBACL_CHECK/CLOUDFRONT_WEBACL_CHECK_test.py::TestStsErrors::test_sts_access_denied - AttributeError: module 'botocore' has no attribute 'exceptions'
FAILED python/CLOUDFRONT_WEBACL_CHECK/CLOUDFRONT_WEBACL_CHECK_test.py::TestStsErrors::test_sts_unknown_error - AttributeError: module 'botocore' has no attribute 'exceptions'
When running
pytest ./python/CLOUDFRONT_WEB_ACL_CHECK
, the tests fail due to:Here is a solution that worked: https://github.com/awslabs/aws-config-rdk/issues/245