从 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 池的自定义属性没有任何更改。它们仅对 PostConfirmation
和 CustomMessage
触发器进行了更改,并添加了 API Gateway 响应。
有人知道为什么我们会看到这个吗?我们怎样才能避免这个错误消息?
最佳答案
我们在部署时遇到了同样的问题。目前,我们在没有 CustomMessage 触发器的情况下部署它,并在部署后手动设置 CustomMessage 触发器。
关于aws-cloudformation - 使用 Cognito 池更新 CloudFormation 堆栈声称我们正在添加属性,但实际上我们没有添加属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53226540/