Usage
module "waf" {
source = "github.com/fencepencil/fencepencil-aws-modules//waf"
name = "<name>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name | string | Name of the WAF Web ACL | — | yes |
scope | string | Scope (REGIONAL or CLOUDFRONT) | REGIONAL | no |
rate_limit | number | Max requests per 5 min per IP | 2000 | no |
managed_rules | list(object) | AWS managed rule groups to attach | [CommonRuleSet, KnownBadInputs, SQLi] | no |
associated_resource_arns | list(string) | Resource ARNs to associate | [] | no |
ip_allowlist | list(string) | CIDRs to allowlist | [] | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (3)
| Name | Description |
|---|---|
web_acl_arn | ARN of the WAF Web ACL |
web_acl_id | ID of the WAF Web ACL |
web_acl_capacity | WCU capacity of the Web ACL |