aws-cloudformation - 使用 Cognito 池更新 CloudFormation 堆栈声称我们正在添加属性,但实际上我们没有添加属性

标签 aws-cloudformation amazon-cognito

从 2018 年 11 月 7 日开始,我们在更新 CloudFormation 堆栈时开始收到以下错误:

Updating user pool schema is not allowed from cloudformation. Use the
AddCustomAttributes API or the AWS Cognito Console to update user pool
schema.

我们的 CF 堆栈对 Cognito 池的自定义属性没有任何更改。它们仅对 PostConfirmationCustomMessage 触发器进行了更改,并添加了 API Gateway 响应。

有人知道为什么我们会看到这个吗?我们怎样才能避免这个错误消息?

最佳答案

我们在部署时遇到了同样的问题。目前,我们在没有 CustomMessage 触发器的情况下部署它,并在部署后手动设置 CustomMessage 触发器。

关于aws-cloudformation - 使用 Cognito 池更新 CloudFormation 堆栈声称我们正在添加属性,但实际上我们没有添加属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53226540/

相关文章:

amazon-web-services - AWS 为 Lambda 创建 Cloudformation 日志警报

javascript - 使用 AWS Cognito 忘记密码表单

ios - iOS 的 AWS Cognito SMS 传输问题

cordova - AWS Cognito 日志记录

amazon-web-services - 如何使用 API Gateway 将 Cognito 用户池组传递到 Lambda 上下文?

amazon-web-services - 该区域不支持资源 cloudformation EFSFileSystem

amazon-web-services - 如何组织云阵模板?

amazon-web-services - AWS CloudFormation 模板生成问题

amazon-web-services - 在 CloudFormation 中创建 ELB - 粘性策略被忽略?

amazon-web-services - 如何在没有托管 UI 的情况下使用 aws-amplify API 使用联合身份验证?