From d88d5afda63dae692392c2ed7d4d05e0f94cabae Mon Sep 17 00:00:00 2001 From: komada <30950010+kmdmnak@users.noreply.github.com> Date: Fri, 15 Sep 2023 07:23:21 +0900 Subject: [PATCH] Cognito: Limit user pool ID to 55 characters (#6813) --- moto/cognitoidp/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/cognitoidp/models.py b/moto/cognitoidp/models.py index fcc943238..2cccdec56 100644 --- a/moto/cognitoidp/models.py +++ b/moto/cognitoidp/models.py @@ -382,7 +382,7 @@ DEFAULT_USER_POOL_CONFIG: Dict[str, Any] = { class CognitoIdpUserPool(BaseModel): - MAX_ID_LENGTH = 56 + MAX_ID_LENGTH = 55 def __init__( self, account_id: str, region: str, name: str, extended_config: Dict[str, Any]