aws-solutions / aws-waf-security-automations

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.
https://aws.amazon.com/solutions/aws-waf-security-automations
Apache License 2.0
845 stars 361 forks source link

IP Reputation Lambda function failing out of the box #105

Closed jayden-nyc closed 4 years ago

jayden-nyc commented 4 years ago

I installed the waf-security-automations cloudformation template and the IP Reputations function has not been working out of the box. When I check Cloudwatch, I see the following error every time it kicks off (hourly): Any ideas why this is happening? I have not modified anything after the cloudformation template completed the install.

Unable to import module 'reputation-lists-parser': Error at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object. (/var/task/reputation-lists-parser.js:17:13) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3)