【问题标题】:Updating user pool schema is not allowed from cloudformation不允许从 cloudformation 更新用户池架构
【发布时间】:2019-04-16 23:15:00
【问题描述】:

我正在尝试通过 cloudformation 模板使 phone_number 可变,但出现错误

“不允许从 cloudformation 更新用户池架构。使用 AddCustomAttributes API 或 AWS Cognito 控制台更新用户池架构。”

下面是我的架构 sn-p:-

      {
        "Name": "phone_number",
        "AttributeDataType": "String",
        "Mutable": true,
        "Required": true
      },

不确定为什么 cloudformation 无法更新 UserPoolId。

【问题讨论】:

    标签: javascript angular typescript amazon-web-services amazon-cognito


    【解决方案1】:

    一旦 Cognito 用户池既不是使用 CloudFormation 也不是使用 CLI 或 AWS 控制台创建的,您就无法向它添加其他属性。您只能将自定义属性添加到现有用户池。

    【讨论】:

      猜你喜欢
      • 2012-06-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多