chatql-react
chatql-react copied to clipboard
Lambda no longer supports node 6.10 (build step)
Seems like we might need an update. This is from the amplify build step, under "Backend":
2019-06-01T20:55:16.202Z [INFO]: CREATE_FAILED PinpointFunction AWS::Lambda::Function Sat Jun 01 2019 20:55:15 GMT+0000 (UTC) The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs8.10) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 8e432964-84af-11e9-9871-b5a71df59909)
Just change the nodejs6.10 strings to nodejs8.10,
I also have to recreate the analytics backend with amplify remove analytics && amplify add analytics
cause the I was getting a consistent error regardless of region
Embedded stack arn:aws:cloudformation:ap-southeast-1:991300696177:stack/chatql-react-test-20190611034537-analyticschatqlreact-TOCWMBV2XV6A/35229320-8bc4-11e9-b250-024d84896d6a was not successfully created: The following resource(s) failed to create: [PinpointFunctionOutputs].
I have fixed this problem and created a pull request here.