Skip to content

Commit

Permalink
upated cognito.yaml stack to name userpool after stackname
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedK committed Jul 27, 2020
1 parent 65de2fb commit 8fd73d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/cognito.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Resources:
Name: "preferred_username"
Required: true
Mutable: true
UserPoolName: !Join [ '-', [ 'UserPool', !Select [0, !Split ["-CognitoIdentityPool", !Ref "AWS::StackName"]]]]

CognitoUserPoolClient:
Type: AWS::Cognito::UserPoolClient
Expand Down

0 comments on commit 8fd73d6

Please sign in to comment.