目前在尝试通过Terraform为AWS Cognito用户池设置“应用客户端”时遇到了困难。这是我目前的资源:
resource "aws_cognito_user_pool" "notes-pool" {
name = "notes-pool"
username_attributes = ["email"]
verification_message_template {
default_email_option = "CONFIRM_WITH_CODE"
}
password_policy {
minimum_length = 10
require_lowercase = false
require_numbers = true
require_symbols = false
require_uppercase = true
}
tags {
"Name" = "notes-pool"
"Environment" = "production"
}
}
上述代码完全正常,我的用户池已创建。如果有人对如何在同一资源中创建应用程序客户端有任何想法,我很愿意倾听。我开始怀疑这个功能不存在!