Create cognito IdentityPool IdentityPoolPrincipalTag resource failed by Cloudformation. HandlerErrorCode is InternalFailure.

0

I want to create the following resources through CloudFormation.

When cloudformation executed to create identity pool principalTag, it failed. And event output: Enter image description here

I want to know how to create tags correctly.

Environment: IAM user: admin region: ap-northeast-1 TestCloudFormationTemplate.json

{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Resources": {
    "UserPool": {
      "Type": "AWS::Cognito::UserPool"
    },
    "UserPoolClient": {
      "Type": "AWS::Cognito::UserPoolClient",
      "DependsOn": "UserPool",
      "Properties": {
        "UserPoolId": {
          "Ref": "UserPool"
        }
      }
    },
    "IdentityPool":{
      "Type" : "AWS::Cognito::IdentityPool",
      "Properties" : {
          "AllowUnauthenticatedIdentities": false,
          "CognitoIdentityProviders" : [ { "ClientId": {"Ref":"UserPoolClient" }, "ProviderName": {"Fn::GetAtt": ["UserPool", "ProviderName" ]}}]
      }
    },
    "IdentityPoolPrincipalTag": {
      "Type" : "AWS::Cognito::IdentityPoolPrincipalTag",
      "Properties" : {
        "IdentityPoolId" : { "Ref": "IdentityPool" },
        "IdentityProviderName" : {"Fn::GetAtt": ["UserPool", "ProviderName" ]}
        }
    }
  }
}
andy
asked 7 months ago83 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions