Skip to content

Commit

Permalink
removed duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoscota committed Apr 29, 2022
1 parent 253a208 commit 0becbca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1343,13 +1343,6 @@ resource "aws_wafv2_web_acl" "main" {
content {
statement {

# Scope down NOT ip_set_statement
dynamic "ip_set_reference_statement" {
for_each = length(lookup(not_statement.value, "ip_set_reference_statement", {})) == 0 ? [] : [lookup(not_statement.value, "ip_set_reference_statement", {})]
content {
arn = lookup(ip_set_reference_statement.value, "arn")
}
}
# NOT byte_match_statement
dynamic "byte_match_statement" {
for_each = length(lookup(not_statement.value, "byte_match_statement", {})) == 0 ? [] : [lookup(not_statement.value, "byte_match_statement", {})]
Expand Down

0 comments on commit 0becbca

Please sign in to comment.