Skip to content

Commit fcafbfa

Browse files
authored
update lambda node version to nodejs12.x
1 parent fce52c0 commit fcafbfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ resource "aws_lambda_function" "encrypt" {
3737
function_name = module.encrypt_label.id
3838
tags = module.encrypt_label.tags
3939
handler = "encrypt.handler"
40-
runtime = "nodejs8.10"
40+
runtime = "nodejs12.x"
4141
timeout = 10
4242
role = aws_iam_role.lambda.arn
4343
depends_on = [data.archive_file.encrypt]
@@ -56,7 +56,7 @@ resource "aws_lambda_function" "decrypt" {
5656
function_name = module.decrypt_label.id
5757
tags = module.decrypt_label.tags
5858
handler = "decrypt.handler"
59-
runtime = "nodejs8.10"
59+
runtime = "nodejs12.x"
6060
timeout = 10
6161
role = aws_iam_role.lambda.arn
6262
depends_on = [data.archive_file.decrypt]

0 commit comments

Comments
 (0)