Skip to content

Commit

Permalink
Merge pull request hashicorp#39107 from psantus/f-aws_wafv2_web_acl-r…
Browse files Browse the repository at this point in the history
…ate-limit-10

Improve aws_wafv2_web_acl (rate_based_statement limit now manage values from 10)
  • Loading branch information
ewbankkit authored Sep 3, 2024
2 parents 5b1f967 + 66fb547 commit 6e6321a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changelog/39107.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:enhancement
resource/aws_wafv2_web_acl: Reduce `rate_based_statement.limit` minimum from `100` to `10`
```

```release-note:enhancement
resource/aws_wafv2_rule_group: Reduce `rate_based_statement.limit` minimum from `100` to `10`
```
2 changes: 1 addition & 1 deletion internal/service/wafv2/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ func rateBasedStatementSchema(level int) *schema.Schema {
"limit": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(100, 2000000000),
ValidateFunc: validation.IntBetween(10, 2000000000),
},
"scope_down_statement": scopeDownStatementSchema(level - 1),
},
Expand Down

0 comments on commit 6e6321a

Please sign in to comment.