-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amplify push results in The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions #13949
Comments
Not sure if this matters or not but I'm using: GraphQL transformer version: 1 |
Hey @malcomm, thank you for reaching out. It appears the Lambda functions in the project currently use a deprecated runtime which will need to updated before pushing the environment. To update the function, you should be able to modify the runtime property on the function CloudFormation template function. Refer to the Amplify function document providing this information |
@ykethan - just to be sure ... these Lambda functions are being created by aws amplify cli ... my project doesn't have any custom Lambda functions. The
So what I think is happening: the Lambda functions that |
Hey @malcomm, thanks for pointing this. The |
@ykethan - ....... So let me get this straight ... I have had a project going for many years and then yesterday I do a push. This results in the stack in a failed state with no way to recover it. I try everything I can think of to restore it ... no go. I then nuke the environment because I thought I was doing something wrong ... boy was that a mistake ... now I don't have a test environment to QA this auth change for my production environment. You think it might be a good idea for the amplify cli team to maybe give a little warning about this whole thing? It's not like this is new ...... The hours this has just cost me ... and I don't even have this working again ..... Rant over ... I'll try and patch this up. Man do I ever regret picking AWS Amplify ..... |
@ykethan - ok so I am trying to follow the steps #13788 (comment) and #13788 (comment) providing this information. I installed installed Amplify CLI @ 11.1.0:
Tried an
I am stuck with no way to deploy. |
@ykethan - any chance we could get a new version of Amplify CLI that creates the |
@ykethan - any updates on this? Development is blocked 100% because of this issue. |
Hey @malcomm, apologies for the delay in a response.
i would be happy in hopping on a call and assisting you as well. I am available on discord and my handle is |
@malcomm thank you for hopping on a call today, it was great chatting with you. Do let us know if the issue can be closed. |
Closing the issue due to inactivity. Do reach out if you are still experiencing any issues. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
12.12.6
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
amplify push results in a bunch of failures:
This happened when I was trying to make an update and I thought I had done something wrong. I ended up deleting the entire environment and tried to recreate ... same issue.
Expected behavior
push should work
Reproduction steps
amplify push ... failure
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: