I'm trying to deploy this stack through CloudFormation to enable cognito user login for my static S3 hosted website but I'm getting this error :
The following resource(s) failed to create: [CognitoUserPool]
The following resource(s) failed to create: [CreateUserPoolAndClientFunction]

I left all the default options.
Any idea about what is causing this ? I'm using an account created from my AWS organization
Thanks !