aws-appsync-rds-aurora-sample icon indicating copy to clipboard operation
aws-appsync-rds-aurora-sample copied to clipboard

Sample fails during creation script

Open glinkot opened this issue 5 years ago • 5 comments

I've tried to deploy this example as my first foray into appsync. I merely select the 'blog' option, and wait for deployment. After some time in creating status, it says rollback is in progress and then rollback is complete.

In the events log for 'AppSyncRDSLambda' it says "The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: f8f22b02-ecef-40f8-876f-705c569e6933)"

It then declares failure and rolls back.

glinkot avatar Feb 25 '20 05:02 glinkot

Sorry for the issues! I just merged a PR that should fix that, can you try again and let me know if it's resolved?

jbailey2010 avatar Mar 06 '20 20:03 jbailey2010

Its is still failing Screenshot 2020-03-25 at 15 47 29

**** There is no reference to the node runtime being nodejs8.10 in the YAML file. I changed it to nodejs12.x and it made no difference.

benassijosef1 avatar Mar 25 '20 15:03 benassijosef1

It is still failing on 16-APR

image

jantoniucci avatar Apr 16 '20 15:04 jantoniucci

It is still failing on 16-APR

image

+1

flowtrader2016 avatar May 07 '20 08:05 flowtrader2016

Apologies, that was my bad. The code was updated here correctly, but the launch buttons from the readme pull a duplicate version of the sample from an s3 bucket, and that was not. I just updated it, and have confirmed it builds to completion from there now.

Let me know if you have any issues!

jbailey2010 avatar Jul 08 '20 23:07 jbailey2010