Skip to content

Commit

Permalink
feat: Add 'ip_set_forwarded_ip_config' argument in ip_set_reference_s…
Browse files Browse the repository at this point in the history
…tatement
  • Loading branch information
uyggnodoow committed Jul 31, 2024
1 parent 762fbfc commit 69a5bac
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/RuleGroup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ module "rule_group" {
metric_name = "cloudwatch_metric_name"
sampled_requests_enabled = false
}
},
{
name = "Rule02"
priority = 20
action = "block"
ip_set_reference_statement = {
arn = ""
ip_set_forwarded_ip_config = {
fallback_behavior = "NO_MATCH"
header_name = "X-Forwarded-For"
position = "ANY"
}
}
visibility_config = {
cloudwatch_metrics_enabled = false
metric_name = "cloudwatch_metric_name"
sampled_requests_enabled = false
}
}
]
visibility_config = {
Expand Down
Loading

0 comments on commit 69a5bac

Please sign in to comment.