amazon-archives/aws-appsync-rds-aurora-sample

Sample fails during creation script

glinkot opened this issue · 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.

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?

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.

It is still failing on 16-APR

image

It is still failing on 16-APR

image

+1

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!