-
Notifications
You must be signed in to change notification settings - Fork 819
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
Error updating auth to migrate resources to the latest amplify version #12784
Comments
Hey @ZalgirisKaunas, thank you for reaching out.The issue appears to have a similar message as #12433. |
The first time I created that API resource my aws-amplify version was 3.3.3, I'm not sure about cli version because I updated it several times after that and because of that I'm not sure how to reproduce the issue. My amplify status: one auth resource is for my userpool and another for user pool groups |
I pulled the restored environment so I continue where I left it without that new endpoint. but I still get � Auth triggers have been configured using an older version of the CLI and must be migrated before they can be deployed. I'm wondering would it work if i remove auth triggers via console or in cloudformation |
Hey @ZalgirisKaunas, It is currently not recommended to modify Amplify managed resources in the AWS console as this may cause a drift between the resource. Expected if the auth resource was imported into the project. Could you try running |
Hi having trouble with this also but don't quite understand the issue. Its been a while since I've touched my amplify app (2022). I tried to make some changes today but I'm running into an issue where the CLI says I have to upgrade the auth. When I try to update it, it removes a bunch of files and then on amplify push, I get this error in my stack. |
hello I upgraded to node 16, but I had errors while pushing regarding the function UpdateRolesWithIDPFunction because the node version was persistent on 12. so I read in on the related issues that I need to upgrade my amplify cli (to have a higher node version of UpdateRolesWithIDPFunction), therefore I updated amplify cli to 12.2.1 I ran |
And when pushing to the cloud I get this error as well |
Hey @g33kracc00n @thathypeapp please be sure to port modifications to user attributes (i.e. custom attributes) by using |
Hey @g33kracc00n @thathypeapp just wanted to follow-up here and see if you're still experiencing this? |
@josefaidt Hey, I tried the |
I fixed my issues manually in the cloudformation templates via console |
thank you for the confirmation, glad to hear that you were able to mitigate the issue. |
|
Amplify CLI Version
12.0.3
Question
Couldn't push new API endpoint via cli because error: "Auth triggers have been configured using an older version of the CLI and must be migrated before they can be deployed."
I then tried to do auth update but after that I still couldn't push the code and was getting Error updating the Cognito trigger: The "path" argument must be of type string. Received undefined.
not sure what should I do next
The text was updated successfully, but these errors were encountered: