Skip to content

Commit

Permalink
Merge pull request #793 from degica/update-node-lambda
Browse files Browse the repository at this point in the history
Update to new version of node in lambda
  • Loading branch information
davidsiaw authored Aug 17, 2023
2 parents 36fa4e3 + f1ae5c9 commit 88ebcf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/heritage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/models/notification_stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def build_resources
j.DISTRICT stack.district.name
end
end
j.Runtime "nodejs12.x"
j.Runtime "nodejs18.x"
j.Code do |j|
j.ZipFile slack_notification_code
end
Expand Down

0 comments on commit 88ebcf4

Please sign in to comment.