Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a49bdc7

Browse files
Switch the runtime to node 12.x
The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions
1 parent d706daf commit a49bdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎module/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ resource "aws_lambda_function" "basic_auth" {
7575
role = "${aws_iam_role.lambda.arn}"
7676
handler = "basic-auth.handler"
7777
source_code_hash = "${data.archive_file.basic_auth_function.output_base64sha256}"
78-
runtime = "nodejs8.10"
78+
runtime = "nodejs12.x"
7979
description = "Protect CloudFront distributions with Basic Authentication"
8080
publish = true
8181
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /