I am new to AWS Amplify and I need to change to a new user pool since the default settings are not sufficient. I see there is a way to create a new user pool and then migrate users from the old pool to the new pool (here), but I would prefer to just change the default pool to the new one.
CodePudding user response:
You can't change standard user pool attributes after a user pool is created. Instead, create a new user pool with the attributes that you want to require for user registration.
You have 2 options to migrate your users to the new User Pool:
- You can migrate users when they sign-in using Amazon Cognito for the first time with a user migration Lambda trigger. With this approach, users can continue using their existing passwords and will not have to reset them after the migration to your user pool. Lambda Migration
- You can export users and import them to a new user pool with a CSV file, but your users will have to change their password.Import - Export