amplify-passwordless-sms-auth
amplify-passwordless-sms-auth copied to clipboard
Creation fails because of nodejs12.x deprecated
I am mostly a beginner so if I am doing anything wrong or have not provided enough information so please ask. This is important for my job and I am already beyond deadline so any help and insight will be greatly appreciated.
I am trying to deploy this(https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:552623489034:applications~amplify-passwordless-sms-auth) stack in the ap-southeast-1 region. I change the region after clicking on the given link from the console's top right.
Then after giving a name and deploying, I get the same issue again and again (tried twice).
As I have attached in the screenshot, this function creation is the first to fail in the stack. After that the entire stack is rolledback. Please guide as to how to move forward.
Hey! As error stated, Node12 support has been dropped for lambda. You have to change the run time to 16.x or 18.x or 20.x whatever you think is ok.
Change in https://github.com/mobilequickie/amplify-passwordless-sms-auth/blob/master/backend/template.yaml at line 42
Runtime: nodejs12.x
to
Runtime: nodejs18.x
and then deploy.
When will the template be fixed/updated with the latest supported Node version?