Skip to content

Commit 05c67b0

Browse files
authored
Merge pull request #32187 from lpmi-13/docs/update-lambda-node-version-to-lts
update the node runtime to current LTS (18)
2 parents 682daf0 + 6863f44 commit 05c67b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/r/lambda_function.html.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "aws_lambda_function" "test_lambda" {
5959
6060
source_code_hash = data.archive_file.lambda.output_base64sha256
6161
62-
runtime = "nodejs16.x"
62+
runtime = "nodejs18.x"
6363
6464
environment {
6565
variables = {
@@ -112,7 +112,7 @@ resource "aws_lambda_function" "test_lambda" {
112112
function_name = "lambda_function_name"
113113
role = aws_iam_role.iam_for_lambda.arn
114114
handler = "index.test"
115-
runtime = "nodejs14.x"
115+
runtime = "nodejs18.x"
116116
117117
ephemeral_storage {
118118
size = 10240 # Min 512 MB and the Max 10240 MB

0 commit comments

Comments
 (0)