I’m trying to make this here work:
functions: pre-sign-up: handler: entrypoints/lambda.presignup events: - cognitoUserPool: pool: MyUserPool trigger: PreSignUp resources: Resources: CognitoUserPoolMyUserPool: Type: AWS::Cognito::UserPool
- The UserPool “MyUserPool” already exists (previously created by CFN)
- after serverless deploy i have two UserPools with the same name
- the new one has the correct trigger
- the already existing UserPool has the correct trigger.
What am I doing wrong?
And what does the normalizedPoolId shoud look like? any examples?