Skip to content

Commit

Permalink
Correct ip_set example
Browse files Browse the repository at this point in the history
  • Loading branch information
ndugera committed Oct 27, 2022
1 parent 72f9fe7 commit db221d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/wafv2-ip-rules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module "waf" {
arn = aws_wafv2_ip_set.custom_ip_set.arn
}

forwarded_ip_config = {
ip_set_forwarded_ip_config = {
header_name = "X-Forwarded-For"
fallback_behavior = "NO_MATCH"
position = "ANY"
Expand All @@ -178,7 +178,7 @@ module "waf" {
arn = aws_wafv2_ip_set.block_ip_set.arn
}

forwarded_ip_config = {
ip_set_forwarded_ip_config = {
header_name = "X-Forwarded-For"
fallback_behavior = "NO_MATCH"
position = "ANY"
Expand Down

0 comments on commit db221d7

Please sign in to comment.