Merge pull request #2864 from bblommers/bugfix/2800
CognitoIdentity - Fix Format of Identity ID
This commit is contained in:
commit
365a2d140b
3 changed files with 7 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from moto.core.utils import get_random_hex
|
||||
from uuid import uuid4
|
||||
|
||||
|
||||
def get_random_identity_id(region):
|
||||
return "{0}:{1}".format(region, get_random_hex(length=19))
|
||||
return "{0}:{1}".format(region, uuid4())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue