concurrency = 2

This commit is contained in:
Daniel Roth 2026-06-22 14:54:23 +00:00
parent 233dace245
commit 2156109e99
2 changed files with 9 additions and 2 deletions

View file

@ -25,7 +25,8 @@ module "lambda" {
reserved_concurrent_executions = var.reserved_concurrent_executions
batch_size = var.batch_size
batch_size = var.batch_size
maximum_concurrency = var.maximum_concurrency
timeout = 60
memory_size = 1024

View file

@ -19,9 +19,15 @@ variable "image_digest" {
}
variable "reserved_concurrent_executions" {
type = number
default = -1
description = "Reserved concurrency for the Lambda. -1 = unreserved."
}
variable "maximum_concurrency" {
type = number
default = 2
description = "Concurrent executions"
description = "Maximum concurrent Lambda invocations from the SQS trigger."
}
variable "batch_size" {