From bb82638281c46559a2f8815ac17f61d01c2d0fd9 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 24 May 2018 16:43:46 -0400 Subject: [PATCH] Updating to use new username attribute --- resources/cognito-user-pool.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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