Skip to content

Commit

Permalink
NOBUG: Adding increased timeouts due to lambda erroring out on occasi…
Browse files Browse the repository at this point in the history
…on. (#129)
  • Loading branch information
marklise authored Jul 7, 2022
1 parent 767ec12 commit 0ebb094
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/src/captcha.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resource "aws_lambda_function" "generateCaptchaLambda" {
handler = "lambda/captcha/handler.generateCaptcha"
runtime = "nodejs14.x"
publish = "true"
timeout = 10

environment {
variables = {
Expand Down Expand Up @@ -67,6 +68,7 @@ resource "aws_lambda_function" "verifyCaptchaLambda" {
handler = "lambda/captcha/handler.verifyAnswer"
runtime = "nodejs14.x"
publish = "true"
timeout = 10

environment {
variables = {
Expand Down Expand Up @@ -120,6 +122,7 @@ resource "aws_lambda_function" "generateCaptchaAudioLambda" {
handler = "lambda/captcha/handler.generateAudio"
runtime = "nodejs14.x"
publish = "true"
timeout = 10

environment {
variables = {
Expand Down
1 change: 1 addition & 0 deletions terraform/src/facility.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resource "aws_lambda_function" "readFacilityLambda" {
publish = "true"

memory_size = 768
timeout = 10

environment {
variables = {
Expand Down
1 change: 1 addition & 0 deletions terraform/src/pass.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ resource "aws_lambda_function" "deletePassLambda" {
handler = "lambda/deletePass/index.handler"
runtime = "nodejs14.x"
publish = "true"
timeout = 10

environment {
variables = {
Expand Down
1 change: 1 addition & 0 deletions terraform/src/settings.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resource "aws_lambda_function" "readConfigLambda" {
publish = "true"

memory_size = 768
timeout = 10

environment {
variables = {
Expand Down

0 comments on commit 0ebb094

Please sign in to comment.