Daily Archives

One Article

Other

cloudformationでCognitoのUserPool作成でエラー

Posted by dowell on


aws cloudformation deploy --template-file userPool.yml --stack-name CognitoUserPool-test --capabilities CAPABILITY_IAM --profile dev-southeast

Waiting for changeset to be created..
Waiting for stack create/update to complete

Failed to create/update the stack. Run the following command
to fetch the list of events leading up to the failure
aws cloudformation describe-stack-events --stack-name CognitoUserPool-test


{
"StackId": "arn:aws:cloudformation:ap-southeast-2:00000894962:stack/CognitoUserPool-test/f6e05000-0000-11e9-ba1c-0664273e8e22",
"EventId": "CognitoUserPool-CREATE_FAILED-2019-08-15T07:26:25.833Z",
"StackName": "CognitoUserPool-test",
"LogicalResourceId": "CognitoUserPool",
"PhysicalResourceId": "",
"ResourceType": "AWS::Cognito::UserPool",
"Timestamp": "2019-08-15T07:26:25.833Z",
"ResourceStatus": "CREATE_FAILED",
"ResourceStatusReason": "Property validation failure: [Encountered unsupported properties in {/Schema/0}: [Required\"]]",
"ResourceProperties":


Schema:
- Name: "name"
AttributeDataType: String
Mutable: true
Required": true

誤字。。