mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
also set timeout and memory_size
This commit is contained in:
parent
840ce73111
commit
a2db212dce
2 changed files with 14 additions and 0 deletions
|
|
@ -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(
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue