From 958931038d35218bd5f3ebbb0e089852e72e9146 Mon Sep 17 00:00:00 2001 From: Bill Harts Date: Sat, 31 Aug 2019 22:22:22 -0400 Subject: [PATCH 1/3] Update pinpoint-cloudformation-template.json --- .../chatqlreact/pinpoint-cloudformation-template.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json index 4bf7a95..e05dfe3 100644 --- a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json +++ b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json @@ -200,7 +200,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs6.10", + "Runtime": "nodejs8.10", "Timeout": "300", "Role": { "Fn::GetAtt": [ @@ -411,4 +411,4 @@ } } } -} \ No newline at end of file +} From 656f43480d1e6239f4a1dd28ac6536f5ac2fd4ab Mon Sep 17 00:00:00 2001 From: Bill Harts Date: Sat, 31 Aug 2019 22:24:10 -0400 Subject: [PATCH 2/3] Update pinpoint-cloudformation-template.json --- .../analytics/chatqlreact/pinpoint-cloudformation-template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json index e05dfe3..5d15b99 100644 --- a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json +++ b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json @@ -183,7 +183,7 @@ " Name: appName", " }", " };", - " return pinpoint.createApp(params).promise()", + " pinpoint.createApp(params).promise()", " .then((res) => {", " responseData = res.ApplicationResponse;", " response.send(event, context, response.SUCCESS, responseData);", From 39b621856cf5c2007f6290e7225c64377bfdfe3f Mon Sep 17 00:00:00 2001 From: Bill Harts Date: Sat, 31 Aug 2019 22:26:16 -0400 Subject: [PATCH 3/3] Update cognito5a6ec086-cloudformation-template.yml --- .../cognito5a6ec086-cloudformation-template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml b/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml index 78b08c6..9244df0 100644 --- a/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml +++ b/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml @@ -263,7 +263,7 @@ Resources: - ' }' - '};' Handler: index.handler - Runtime: nodejs6.10 + Runtime: nodejs8.10 Timeout: '300' Role: !GetAtt - UserPoolClientRole @@ -384,4 +384,4 @@ Outputs : - \ No newline at end of file +