I want to configure an identity provider for AppleId Sign In. However I can’t find any description of what the provider_details object should look like, in particular the correct variable names. Below is where I am at now.
resource "aws_cognito_identity_provider" "appleid_provider" {
user_pool_id = "${aws_cognito_user_pool.roji_user_pool.id}"
provider_name = "Apple" # Check if correct
provider_type = "SignInWithApple"
provider_details = {
???
Apple Services Id,
Team Id,
Key Id
private_key = "${file("./private_key.p8")}"
}
attribute_mapping = {
email = "email"
name = "name"
username = "sub"
}
}