diff --git a/README.md b/README.md index dfd12bc..1969647 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ module "ja3fingerprint_blacklist" { threshold_alarm = 30 // As soon as this threshold is crossed, we'll trigger the workflow threshold_per_ja3 = 10 // Ja3Finder uses this to block only Ja3FingerPrints that were blocked multiple times. log_group_name = "aws-waf-logs-myacl" // name of the log group which ja3Finder will query - lambda_concurrency = 1 // Prevents 429s fur WAFv2 APIs. See WAF quotas for limit rule_group_scope = "CLOUDFRONT" rule_group_maxsize = 30 // WAF consumed capacity will be 3x that amount. ja3_ban_duration_in_seconds = 3600 // How long before we unban Ja3FingerPrints diff --git a/main.tf b/main.tf index 24e4045..be2ca58 100644 --- a/main.tf +++ b/main.tf @@ -37,7 +37,6 @@ resource "aws_lambda_function" "ja3_finder" { runtime = "python3.12" handler = "ja3Finder.lambda_handler" timeout = 240 - reserved_concurrent_executions = var.lambda_concurrency environment { variables = { @@ -62,7 +61,6 @@ resource "aws_lambda_function" "ja3_rulegroup_updater" { runtime = "python3.12" handler = "ja3RuleGroupUpdater.lambda_handler" timeout = 60 - reserved_concurrent_executions = var.lambda_concurrency environment { variables = { diff --git a/variables.tf b/variables.tf index 9e6f890..ff9bc40 100644 --- a/variables.tf +++ b/variables.tf @@ -96,10 +96,4 @@ variable "sampled_requests_enabled" { type = bool description = "Whether to enable sampled requests logging" default = false -} - -variable "lambda_concurrency" { - type = number - description = "The amount of reserved concurrency for the Lambda function. If you don't set this you might hit throttling errors on WAF GetRuleGroup API " - default = -1 } \ No newline at end of file