trussworks / terraform-aws-wafv2

Creates a WAF using AWS WAFv2 and AWS Managed Rule Sets
https://registry.terraform.io/modules/trussworks/wafv2
Apache License 2.0
103 stars 58 forks source link

Add support for blocking ip sets and include terratests #6

Closed dynamike closed 4 years ago

dynamike commented 4 years ago

This PR pulls in the standard terratest boilerplate and adds support for blocking IP sets. I've added two basic terratests for this.

  1. Test basic functionality associating the WAFv2 ACL with and ALB with the default managed rule sets.
  2. Test adding rules to block IP sets.

I've also cleaned up some variable/output descriptions.

ok      github.com/trussworks/terraform-aws-wafv2/test  534.837s
dynamike commented 4 years ago

Yeah, I'll need to wire up the AWS access key rotation for that to work. I shall do the thing