-
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
Can't add auth triggers through CLI #12991
Comments
Hey @kevinxu3, thank you for reaching out. could you let us know the changes made on the |
additionally noticed that you are looking to add existing Amplify CLI created Lambda functions as a trigger on the Auth resource. unfortunately this is currently not supported by Amplify CLI. |
Got it. I resolved this by creating new triggers and copying over code. Thanks! |
Glad to hear you are back up and running. Closing the issue, please feel free in reaching out to us again. |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.16.0
Amplify CLI Version
12.1.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'm trying to update my auth triggers with existing lambda functions but I get this error from CloudFormation:
I had issues getting the cli to run perfectly so I manually changed some things in cli-inputs.json.
This is the error when trying to update auth config.
Possible related to this (#12784)
Expected behavior
Stack deploys correctly with lambdas set as triggers
Reproduction steps
Create lambdas for auth triggers then add those lambdas through the cli or cli-inputs.json. Deploy and it will fail.
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: