From fa0a94afcad6b3c89c8810c6021c9098dc356391 Mon Sep 17 00:00:00 2001 From: Chris Coombs Date: Thu, 9 Jan 2020 15:29:52 +1100 Subject: [PATCH] Upgrade deprecated runtime nodejs6.10 --- template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.yaml b/template.yaml index a54434d..0763bc5 100644 --- a/template.yaml +++ b/template.yaml @@ -36,7 +36,7 @@ Resources: Properties: CodeUri: subscriber/ Handler: index.handler - Runtime: nodejs6.10 + Runtime: nodejs10.x Role: !GetAtt SubscriberRole.Arn Description: 'Polls Amazon MQ broker for messages and pushes to worker function' Timeout: 15 @@ -58,7 +58,7 @@ Resources: Properties: CodeUri: worker/ Handler: index.handler - Runtime: nodejs6.10 + Runtime: nodejs10.x Role: !GetAtt WorkerRole.Arn Description: 'Writes incoming message to DynamoDB' Environment: