Skip to content

Commit 00fb798

Browse files
authored
Change default runtime (#18)
error creating Lambda Function (1): InvalidParameterValueException: The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions.
1 parent 951c5bb commit 00fb798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ variable local_file_dir {
3333

3434
variable runtime {
3535
description = "The runtime of the lambda function"
36-
default = "nodejs10.x"
36+
default = "nodejs14.x"
3737
}
3838

3939
variable handler {

0 commit comments

Comments
 (0)