Skip to content

Commit

Permalink
Merge pull request #1 from orangesys/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
daisuki-konbini authored Apr 8, 2021
2 parents f4c6e50 + 85d8532 commit 2317200
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "aws_wafv2_web_acl" "acl" {

rule {
name = "rate"
priority = 1
priority = 0

action {
count {}
Expand All @@ -40,7 +40,7 @@ resource "aws_wafv2_web_acl" "acl" {

rule {
name = "default"
priority = 2
priority = 1

override_action {
none {}
Expand All @@ -50,13 +50,11 @@ resource "aws_wafv2_web_acl" "acl" {
managed_rule_group_statement {
name = "AWSManagedRulesCommonRuleSet"
vendor_name = "AWS"

excluded_rule {
name = "SizeRestrictions_QUERYSTRING"
name = "SizeRestrictions_BODY"
}

excluded_rule {
name = "SizeRestrictions_BODY"
name = "SizeRestrictions_QUERYSTRING"
}
}
}
Expand All @@ -70,7 +68,7 @@ resource "aws_wafv2_web_acl" "acl" {

rule {
name = "blocklist"
priority = 3
priority = 2

action {
block {}
Expand Down

0 comments on commit 2317200

Please sign in to comment.