We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1addc14 commit 9ff961cCopy full SHA for 9ff961c
main.tf
@@ -18,7 +18,8 @@ module "lambda" {
18
function_name = module.this.id
19
handler = "index.handler"
20
runtime = "nodejs22.x"
21
-
+ timeout = var.timeout
22
+ memory_size = var.memory_size
23
24
lambda_environment = {
25
variables = {
variables.tf
@@ -25,3 +25,15 @@ variable "log_group_names" {
type = map(string)
26
default = {}
27
}
28
+
29
+variable "timeout" {
30
+ description = "Lambda function timeout in seconds"
31
+ type = number
32
+ default = 3
33
+}
34
35
+variable "memory_size" {
36
+ description = "Lambda function memory size in MB"
37
38
+ default = 128
39
0 commit comments