From 984c05b69fe0fbeea3c73312de8e015acfad743d Mon Sep 17 00:00:00 2001 From: David Siaw Date: Fri, 18 Aug 2023 04:51:21 +0900 Subject: [PATCH] update to new version of node in lambda --- app/models/heritage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/heritage.rb b/app/models/heritage.rb index 3539efc5..4251ce50 100644 --- a/app/models/heritage.rb +++ b/app/models/heritage.rb @@ -50,7 +50,7 @@ def build_resources add_resource("AWS::Lambda::Function", "ScheduleHandler") do |j| j.Handler "index.handler" j.Role get_attr("ScheduleHandlerRole", "Arn") - j.Runtime "nodejs12.x" + j.Runtime "nodejs18.x" j.Timeout 60 j.Code do |j| j.ZipFile schedule_handler_code