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
已提問 7 個月前檢視次數 85 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南