Skip to content

Commit 3409fb9

Browse files
committed
chore: upgrade nodejs lambda to 18.x
1 parent 2b0a824 commit 3409fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aws-frontend/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ resource "aws_lambda_function" "edge_lambda" {
314314
function_name = "${var.name}-lambda-edge"
315315
handler = "index.handler"
316316
role = aws_iam_role.edge_lambda[0].arn
317-
runtime = "nodejs12.x"
317+
runtime = "nodejs18.x"
318318
timeout = 5
319319
filename = data.archive_file.edge_lambda[0].output_path
320320
source_code_hash = data.archive_file.edge_lambda[0].output_base64sha256

0 commit comments

Comments
 (0)