微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

使用放大身份验证更新将Cognito用户池组添加到现有Cognito资源?

如何解决使用放大身份验证更新将Cognito用户池组添加到现有Cognito资源?

我已经在我的Amplify CLI应用程序中使用了Cognito。我可以使用amplify update auth

安全地添加Cognito用户池组吗
amplify update auth
Please note that certain attributes may not be overwritten if you choose to use defaults settings
.

You have configured resources that might depend on this Cognito resource.  Updating this Cognito 
resource Could have unintended side effects.

Using service: Cognito,provided by: awscloudformation
 What do you want to do? (Use arrow keys)
  Apply default configuration with Social Provider (Federation) 
  Walkthrough all the auth configurations 
❯ Create or update Cognito user pool groups 
  Create or update Admin queries API

解决方法

是的,您可以放心使用

amplify update auth

添加或更新组。

完成后请确保运行:

amplify auth push

amplify push

因此它应用了更改。运行需要几分钟。

你可以使用

amplify init
amplify pull auth

先拉取所有资源。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。