Skip to content

Commit

Permalink
NodeJS version to be upgraded within Lambda functions
Browse files Browse the repository at this point in the history
  • Loading branch information
juanroldan1989 committed Feb 23, 2024
1 parent a545968 commit 2ad750e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/4-upsert-lambda-function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ resource "aws_lambda_function" "upsert_lambda_function" {
s3_bucket = aws_s3_bucket.lambda_bucket.id
s3_key = aws_s3_object.upsert_lambda_function.key

# TODO: adjust to NodeJS 18.x to import ONLY the modules from AWS SDK needed for the Lambda Function
# https://github.com/aws/aws-sdk-js/issues/4401
runtime = "nodejs16.x"
handler = "function.handler"

Expand Down

0 comments on commit 2ad750e

Please sign in to comment.