This solution automatically deploys a single web access control list (web ACL) with a set of AWS WAF rules designed to filter common web-based attacks.
Describe the bug
helper Lambda function log output:
[ERROR] Runtime.ImportModuleError: Unable to import module 'helper': No module named 'lib.s3_util' Traceback (most recent call last):
Hello,
Describe the bug helper Lambda function log output:
[ERROR] Runtime.ImportModuleError: Unable to import module 'helper': No module named 'lib.s3_util' Traceback (most recent call last):
In Line https://github.com/aws-solutions/aws-waf-security-automations/blob/main/deployment/build-s3-dist.sh#L148 the file s3_util.py should copied to the helper lib folder but the file is not in die source directory: https://github.com/aws-solutions/aws-waf-security-automations/tree/main/source/lib There are some other files too, which should be copied but not available in the directory. Please check them too.
stack_requirements.py want to use this lib: https://github.com/aws-solutions/aws-waf-security-automations/blob/main/source/helper/stack_requirements.py#L19
To Reproduce Error occurs during stack creation
Expected behavior
Please complete the following information about the solution:
Screenshots / Additional context /