-
Notifications
You must be signed in to change notification settings - Fork 823
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
MFALambdaInputs keeps getting stuck #13600
Comments
Hey @gusmd01, thank you for reaching out. From the project identifier provided the logs provided the push failed with an error message.
Do observe the error in the auth CloudFormation stack on AWS CloudFormation console events? Additionally, from the |
@ykethan Thanks for replying. I did get this error For the auth error, yes I did get the error after |
@gusmd01 Amplify CLI ties the Lambda function in the auth CFN template to a specific node version. To upgrade the NodeJS runtime version, the expected behavior is to upgrade the Amplify CLI version and run
was this on a older version of Amplify CLI? |
Closing the issue due to inactivity. Do reach out to us if you require any assistance. |
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?
node16
Amplify CLI Version
12.10.1
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 manual changes made
Describe the bug
I have added a new ENV to the existing Amplify app, which has auth. While creating the resources for this new env, cloudformation keeps getting stuck at "MFALambdaInputs". I checked the logs for MFALambda, and found the following error -
I have also run "amplify update auth", but doesn't fix the issue. Another point to note is that I am overriding the node version for this lambda, since Node 14 support is no longer available.
Override code -
Expected behavior
New env creation should happen without any issues.
Reproduction steps
Project Identifier
c9d297d589ce09db4f602aab2288ba1d
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: