diff --git a/resources/cognito-user-pool.yml b/resources/cognito-user-pool.yml index d68c3f0..29ba78d 100644 --- a/resources/cognito-user-pool.yml +++ b/resources/cognito-user-pool.yml @@ -5,7 +5,7 @@ Resources: # Generate a name based on the stage UserPoolName: ${self:custom.stage}-user-pool # Set email as an alias - AliasAttributes: + UsernameAttributes: - email AutoVerifiedAttributes: - email