Skip to content

Commit

Permalink
feat: set lambda timeout to 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gavanier committed Nov 21, 2023
1 parent 4b95aab commit 21a1add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "aws_lambda_function" "api_routes" {
s3_key = "v0/${each.value.operationId}.zip"
runtime = "nodejs18.x"
handler = "index.handler"
timeout = 20
timeout = 300
memory_size = 2048
role = aws_iam_role.api_route_execution_role.arn
source_code_hash = local.s3_objects_map["v0/${each.value.operationId}.zip"].etag
Expand Down

0 comments on commit 21a1add

Please sign in to comment.