@@ -13,7 +13,7 @@ to match your desired configuration. For example, to create a new distribution
1313
1414``` hcl
1515module "cloudfront_waf" {
16- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
16+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
1717
1818 project = "my-project"
1919 environment = "dev"
@@ -76,7 +76,7 @@ distribution at `www.my-project.org`, you could use the following:
7676
7777``` hcl
7878module "cloudfront_waf" {
79- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
79+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
8080
8181 project = "my-project"
8282 environment = "dev"
@@ -107,7 +107,12 @@ number is too low.
107107> > WAFInvalidParameterException: Error reason: You exceeded the capacity limit
108108> > for a rule group or web ACL.
109109>
110- > this is a good indication that you may need to set the capacity manually.
110+ > this is a good indication that you may need to set the capacity manually. At
111+ > the end of this message you should see something like:
112+ >
113+ > > field: RULE_GROUP, parameter: ** 92**
114+ >
115+ > In this case, the minimum capacity for the rule group should be ` 92 ` .
111116
112117In order to override the capacity for a rule group, you can specify the WCUs
113118through an appropriate variable. For example, to set the capacity for the
@@ -155,7 +160,7 @@ Simply specify the headers you want to add in a map. For example:
155160
156161``` hcl
157162module "cloudfront_waf" {
158- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
163+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
159164
160165 project = "my-project"
161166 environment = "dev"
@@ -191,7 +196,7 @@ resource "aws_wafv2_ip_set" "security_scanners" {
191196}
192197
193198module "cloudfront_waf" {
194- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
199+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
195200
196201 project = "my-project"
197202 environment = "staging"
@@ -230,7 +235,7 @@ For example, to rate limit requests to 300 over a 5-minute period:
230235
231236``` hcl
232237module "cloudfront_waf" {
233- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
238+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
234239
235240 project = "my-project"
236241 environment = "staging"
@@ -276,7 +281,7 @@ ensure it comes after the common and SQLi rule sets.
276281
277282``` hcl
278283module "cloudfront_waf" {
279- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
284+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
280285
281286 project = "my-project"
282287 environment = "staging"
@@ -318,7 +323,7 @@ conditions that must be met for the request to be allowed through.
318323
319324``` hcl
320325module "cloudfront_waf" {
321- source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.8.2 "
326+ source = "github.com/codeforamerica/tofu-modules-aws-cloudfront-waf?ref=1.9.0 "
322327
323328 project = "my-project"
324329 environment = "staging"
0 commit comments