diff --git a/terraform/src/captcha.tf b/terraform/src/captcha.tf index a822320a..58060994 100644 --- a/terraform/src/captcha.tf +++ b/terraform/src/captcha.tf @@ -16,6 +16,7 @@ resource "aws_lambda_function" "generateCaptchaLambda" { handler = "lambda/captcha/handler.generateCaptcha" runtime = "nodejs14.x" publish = "true" + timeout = 10 environment { variables = { @@ -67,6 +68,7 @@ resource "aws_lambda_function" "verifyCaptchaLambda" { handler = "lambda/captcha/handler.verifyAnswer" runtime = "nodejs14.x" publish = "true" + timeout = 10 environment { variables = { @@ -120,6 +122,7 @@ resource "aws_lambda_function" "generateCaptchaAudioLambda" { handler = "lambda/captcha/handler.generateAudio" runtime = "nodejs14.x" publish = "true" + timeout = 10 environment { variables = { diff --git a/terraform/src/facility.tf b/terraform/src/facility.tf index eade9cac..f8e4bda7 100644 --- a/terraform/src/facility.tf +++ b/terraform/src/facility.tf @@ -10,6 +10,7 @@ resource "aws_lambda_function" "readFacilityLambda" { publish = "true" memory_size = 768 + timeout = 10 environment { variables = { diff --git a/terraform/src/pass.tf b/terraform/src/pass.tf index afe7da56..a3c47e9f 100644 --- a/terraform/src/pass.tf +++ b/terraform/src/pass.tf @@ -108,6 +108,7 @@ resource "aws_lambda_function" "deletePassLambda" { handler = "lambda/deletePass/index.handler" runtime = "nodejs14.x" publish = "true" + timeout = 10 environment { variables = { diff --git a/terraform/src/settings.tf b/terraform/src/settings.tf index cc423b40..1786b45a 100644 --- a/terraform/src/settings.tf +++ b/terraform/src/settings.tf @@ -10,6 +10,7 @@ resource "aws_lambda_function" "readConfigLambda" { publish = "true" memory_size = 768 + timeout = 10 environment { variables = {