mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
concurrency = 2
This commit is contained in:
parent
233dace245
commit
2156109e99
2 changed files with 9 additions and 2 deletions
|
|
@ -25,7 +25,8 @@ module "lambda" {
|
||||||
|
|
||||||
reserved_concurrent_executions = var.reserved_concurrent_executions
|
reserved_concurrent_executions = var.reserved_concurrent_executions
|
||||||
|
|
||||||
batch_size = var.batch_size
|
batch_size = var.batch_size
|
||||||
|
maximum_concurrency = var.maximum_concurrency
|
||||||
|
|
||||||
timeout = 60
|
timeout = 60
|
||||||
memory_size = 1024
|
memory_size = 1024
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,15 @@ variable "image_digest" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "reserved_concurrent_executions" {
|
variable "reserved_concurrent_executions" {
|
||||||
|
type = number
|
||||||
|
default = -1
|
||||||
|
description = "Reserved concurrency for the Lambda. -1 = unreserved."
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "maximum_concurrency" {
|
||||||
type = number
|
type = number
|
||||||
default = 2
|
default = 2
|
||||||
description = "Concurrent executions"
|
description = "Maximum concurrent Lambda invocations from the SQS trigger."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "batch_size" {
|
variable "batch_size" {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue