Skip to content

Commit

Permalink
Bump DPC rate limit (#154)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://cmsgov.slack.com/archives/C04UG13JF9B/p1733939290774959

## 🛠 Changes

Bumping DPC rate limit to 3000requests/5min

## ℹ️ Context

DPC is seeing some customers get timed out

## 🧪 Validation

DPC rate limit rule should be changed, all others should stay the same
  • Loading branch information
gfreeman-navapbc authored Dec 11, 2024
1 parent aa20dc4 commit 0b23d0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/firewall/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
1 change: 1 addition & 0 deletions terraform/services/api-waf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0b23d0f

Please # to comment.