This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Description
Since Feb 3, nodejs8.10 has been deprecated for AWS Lambda.
On the initial Staging deployment, deploying to AWS failed for me:
CREATE_FAILED AWS::Lambda::Function MainFunction 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: InvalidPar ameterValueException;
I changed the node version to nodejs12.x and staging workflow passed. However for the production flow nodejs12.x failed with:
Run docker://admiralawkbar/aws-nodejs:latest
...
...
Building resource 'MainFunction'
Error: 'nodejs12.x' runtime is not supported
ERROR! Failed to build SAM application!
Fix suggestion: Update node version to either nodejs10.x OR update both node version to nodejs12.x and deployment mechanism for production workflow to using github/deploy-nodejs@master