diff --git a/terraform/modules/firewall/variables.tf b/terraform/modules/firewall/variables.tf index 9459ed2f..34b37f6f 100644 --- a/terraform/modules/firewall/variables.tf +++ b/terraform/modules/firewall/variables.tf @@ -48,7 +48,7 @@ variable "content_type" { variable "rate_limit" { description = "IP rate limit for every 5 minutes" type = number - default = 300 + default = 3000 } variable "ip_sets" { diff --git a/terraform/services/api-waf/main.tf b/terraform/services/api-waf/main.tf index b8f5b073..985d9f23 100644 --- a/terraform/services/api-waf/main.tf +++ b/terraform/services/api-waf/main.tf @@ -52,6 +52,7 @@ module "aws_waf" { content_type = "APPLICATION_JSON" associated_resource_arn = data.aws_lb.api.arn + rate_limit = var.app == "bcda" ? 300 : 3000 ip_sets = var.env == "sbx" ? [] : [ one(data.aws_wafv2_ip_set.external_services).arn, one(aws_wafv2_ip_set.api_customers).arn,