Skip to content

Commit 3efc090

Browse files
author
olamide
committed
Update terraform values
1 parent 3695416 commit 3efc090

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aws/waf/variables.tf

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ variable "aws_managed_rule_groups" {
3131

3232
variable "rate_limit" {
3333
description = "Rule statement to track and rate limits requests when they are coming at too fast a rate.. For more details, visit - https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html"
34-
type = object({
34+
type = map(object({
3535
Priority = number # Relative processing order for rate limit rule relative to other rules processed by AWS WAF.
3636
Limit = optional(number, 1000) # This is the limit on requests from any single IP address within a 5 minute period
3737
count_override = optional(bool, false) # If true, this will override the rule action setting to `count`, if false, the rule action will be set to `block`. Default value is false.
38-
})
38+
country_list = optional(list, [])
39+
}))
3940
}
4041

4142
variable "allowed_ip_list" {

0 commit comments

Comments
 (0)