amplify-cli
amplify-cli copied to clipboard
Add a "Create or update Cognito Lambda Triggers" option to "amplify update auth"
Is your feature request related to a problem? Please describe.
I often find that with Amplify projects, I need to modify Cognito lambda triggers. Currently when running amplify update auth
,
I'm presented with these options:
xec "amplify update auth"
Please note that certain attributes may not be overwritten if you choose to use defaults settings.
You have configured resources that might depend on this Cognito resource. Updating this Cognito resource could have unintended side effects.
Using service: Cognito, provided by: awscloudformation
What do you want to do?
Apply default configuration without Social Provider (Federation)
Apply default configuration with Social Provider (Federation)
❯ Walkthrough all the auth configurations
Create or update Cognito user pool groups
Create or update Admin queries API
It would be massively beneficial to add a "Create or update Lambda Triggers" option. E.g:
xec "amplify update auth"
Please note that certain attributes may not be overwritten if you choose to use defaults settings.
You have configured resources that might depend on this Cognito resource. Updating this Cognito resource could have unintended side effects.
Using service: Cognito, provided by: awscloudformation
What do you want to do?
Apply default configuration without Social Provider (Federation)
Apply default configuration with Social Provider (Federation)
❯ Walkthrough all the auth configurations
Create or update Cognito user pool groups
Create or update Admin queries API
Create or update Cognito Lambda Triggers
Describe the solution you'd like As above.
Describe alternatives you've considered Currently stepping through the "Walkthrough all the auth configurations" option is very time-consuming and makes users prone to making unwanted changes.
+1
+1
+1
Especially true when you have an oauth setup, you need rewrite client id and client secret by going to the respective console.
any progress?