also set timeout and memory_size

This commit is contained in:
Daniel Roth 2026-03-06 11:28:35 +00:00
parent 840ce73111
commit a2db212dce
2 changed files with 14 additions and 0 deletions

View file

@ -26,6 +26,8 @@ module "lambda" {
maximum_concurrency = var.maximum_concurrency
batch_size = var.batch_size
timeout = var.timeout
memory_size = var.memory_size
environment = merge(
{

View file

@ -28,6 +28,18 @@ variable "batch_size" {
default = 1
}
variable "timeout" {
type = number
default = 900
description = "Lambda timeout in seconds"
}
variable "memory_size" {
type = number
default = 3008
description = "Lambda memory size in MB"
}
variable "db_host" {
type = string
sensitive = true