From 5680defa59fb415aacf2fcbc316475cd0ad8e221 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 24 Feb 2026 17:35:41 +0000 Subject: [PATCH] add concurrency to categorisation lambda --- infrastructure/terraform/lambda/categorisation/variables.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infrastructure/terraform/lambda/categorisation/variables.tf b/infrastructure/terraform/lambda/categorisation/variables.tf index e4bab243..347964de 100644 --- a/infrastructure/terraform/lambda/categorisation/variables.tf +++ b/infrastructure/terraform/lambda/categorisation/variables.tf @@ -17,6 +17,11 @@ variable "image_digest" { description = "Image digest (sha256:...)" } +variable "maximum_concurrency" { + type = number + default = 10 # null if you don't want to set it for this handler + description = "Maximum number of concurrent Lambda invocations from SQS (2-1000). null = no limit." +} locals { image_uri = "${var.ecr_repo_url}@${var.image_digest}"