Skip to content

Commit a3f0a05

Browse files
committed
fix: fix constraint validation for user pool name length
1 parent 4f73bbd commit a3f0a05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Resources:
7777
UserPool: # Cognito User Pool
7878
Type: AWS::Cognito::UserPool
7979
Properties:
80-
UserPoolName: !Sub ${AWS::StackName}-task-management-user-pool
80+
UserPoolName: !Sub ${AWS::StackName}-user-pool
8181
AdminCreateUserConfig:
8282
AllowAdminCreateUserOnly: true
8383
AutoVerifiedAttributes:
@@ -109,7 +109,7 @@ Resources:
109109
UserPoolClient: # Cognito User Pool Client
110110
Type: AWS::Cognito::UserPoolClient
111111
Properties:
112-
ClientName: !Sub ${AWS::StackName}-task-management-user-pool-client
112+
ClientName: !Sub ${AWS::StackName}-user-pool-client
113113
GenerateSecret: true
114114
AllowedOAuthFlowsUserPoolClient: true
115115
AllowedOAuthFlows:
@@ -139,7 +139,7 @@ Resources:
139139
UserPoolDomain: # Cognito User Pool Domain
140140
Type: AWS::Cognito::UserPoolDomain
141141
Properties:
142-
Domain: !Sub ${AWS::StackName}-task-management-user-pool-domain
142+
Domain: !Sub ${AWS::StackName}-user-pool-domain
143143
UserPoolId: !Ref UserPool
144144

145145
ApiAdministratorsUserPoolGroup: # Cognito User Group for administrators

0 commit comments

Comments
 (0)