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

[MB-15263] Enable custom error codes #110

Closed chtakahashi closed 1 year ago

chtakahashi commented 1 year ago

We wanted to be able to specify error codes on the WAF.

I realize this module doesn't consider if somebody wants to add custom response bodies in addition to codes, but I tabled that for a future PR in case we care to do so. For now it just assumes that if you specify error code 403 that you won't need to provide additional information

esacteksab commented 1 year ago

Released in https://github.com/trussworks/terraform-aws-wafv2/releases/tag/v2.7.0