[英]AWS Cognito User Pool : Given an App client id, how to get its Pool Id?
[英]how to change id pool in cognito terraform
我在 cognito (aws) 中手動刪除了一個池,terraform 與刪除的池有關系,所以它說:
讀取 Amazon Cognito IDP(身份提供者)用戶 (xxxx):ResourceNotFoundException:用戶池 *********_xxxxxxxxx 不存在。
是否可以創建一個具有自定義 ID 的新池以匹配已刪除的池? 或者在 terraform 中有一個技巧可以避免錯誤?
我試圖在 aws 中設置自定義 ID,但我找不到該選項
無法設置自定義 ID,但要修復 terraform 錯誤,您可以使用以下命令從 state 中刪除 Cognito IDP
terraform state rm ADDRESS
之后,或者您將使用 terraform 重新創建它,或者如果您手動完成,則可以將其導入到 state 中
terraform import aws_cognito_identity_provider.example us-west-2_abc123:CorpAD
如文檔中所述
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.