Skip to content

Commit

Permalink
Update quota and throttle settings for API Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
nikki-t committed Jun 13, 2024
1 parent 299c045 commit 8b29c5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions terraform/hydrocron-apigw.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ resource "aws_api_gateway_usage_plan" "default-user-usage-plan" {
stage = aws_api_gateway_stage.hydrocron-api-gateway-stage.stage_name
}
quota_settings {
limit = 1000000
limit = 2000000000
period = "MONTH"
}
throttle_settings {
burst_limit = 5000
rate_limit = 10000
burst_limit = 200
rate_limit = 2000
}
}

Expand All @@ -162,12 +162,12 @@ resource "aws_api_gateway_usage_plan" "trusted-user-usage-plan" {
stage = aws_api_gateway_stage.hydrocron-api-gateway-stage.stage_name
}
quota_settings {
limit = 1000000
limit = 5
period = "MONTH"
}
throttle_settings {
burst_limit = 5000
rate_limit = 10000
burst_limit = 1
rate_limit = 1
}
}

Expand Down

0 comments on commit 8b29c5f

Please sign in to comment.