Repository files navigation
No requirements.
No modules.
Name
Description
Type
Default
Required
custom_rules
Optional list of additional custom rules to include in the WAF
list(object({ name = string priority = number action = string # "allow", "block", or "count" statement = object({ ip_set_reference_statement = optional(object({ arn = string })) geo_match_statement = optional(object({ country_codes = list(string) })) rate_based_statement = optional(object({ limit = number aggregate_key_type = string scope_down_statement = optional(object({ # Add scope down statement fields as needed })) })) byte_match_statement = optional(object({ search_string = string positional_constraint = string field_to_match = object({ uri_path = optional(bool) query_string = optional(bool) single_header = optional(object({ name = string })) }) text_transformation = object({ priority = number type = string }) })) }) visibility_config = optional(object({ sampled_requests_enabled = optional(bool, true) cloudwatch_metrics_enabled = optional(bool, true) metric_name = optional(string) })) }))
[]
no
environment
n/a
string
n/a
yes
project_name
n/a
string
n/a
yes
resource_arns
List of resource ARNs to associate this WAF with (e.g., ALB or API Gateway)
list(string)
[]
no
scope
n/a
string
"REGIONAL"
no
You can’t perform that action at this time.