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
843 stars 361 forks source link

Unable to create resource PopulateReputationList,ConfigureRateBasedRule e.t.c #125

Closed sudhir05 closed 4 years ago

sudhir05 commented 4 years ago

Sample code of custom-resource.py elif event['ResourceType'] == "Custom::PopulateReputationList": if 'CREATE' in request_type or 'UPDATE' in request_type: populate_reputation_list(event['ResourceProperties']['Region'], event['ResourceProperties']['ReputationListsParser'], event['ResourceProperties']['WAFReputationListsSet1']), event['ResourceProperties']['WAFReputationListsSet2']), Screen Shot 2020-03-06 at 11 04 32 am

sudhir05 commented 4 years ago

Issue is resolved, there was some syntax error in the custom-resource.py file