An example on how to use this module to create WAF global resources to protect Cloudfront
Additional resources like OWASP Top 10 security protection rules are created using terraform-aws-waf-owasp-top-10-rules.
It will also show you how to create WebACL and adding the rules into it.
For AWS WAF on ALB or API Gateway is a little bit different, you can see the example here: waf regional: for ALB and API Gateway
Apache 2 Licensed. See ../../LICENSE for full details.