Closed pmm4654 closed 1 year ago
Hey @pmm4654 :wave: thanks for raising this! Looking at the pasted CLI output it looks as if the triggers were "enabled", but a functionality was not chosen
? Which triggers do you want to enable for Cognito Post Authentication, Post Confirmation, Pr
e Authentication, Pre Sign-up
? What functionality do you want to use for Post Authentication
? What functionality do you want to use for Post Confirmation
? What functionality do you want to use for Pre Authentication
? What functionality do you want to use for Pre Sign-up
Can you confirm whether choosing a "functionality" adds the Functions to your project?
I had selected "Create your own module". I retried these steps today and it now seems like the module is actually being created when it wasn't before. The only thing that changed was a complete restart of the computer. Hopefully this continues to work as expected - thanks for the reply @josefaidt
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v19.8.1
Amplify CLI Version
12.2.3
What operating system are you using?
Ubuntu
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
When attempting to update auth via
amplify update auth
so that I can add a custom pre signup trigger. When I get past all of the other questions I have no lambdas generated and an empty object in myauth/<app>/cli-inputs.json
Expected behavior
I expected my
backend/functions
directory to have newly generated lambdas for pre signup (and any others selected) so that I could modify them. I also expected mycli-inputs.json
file to have atriggers
key that was populated with the specific triggers I needed.Reproduction steps
Project Identifier
5cae6e16e5065d2f34d6efe95b678b09
Log output
Additional information
No response
Before submitting, please confirm: