diff --git a/infrastructure/terraform/components/app/cognito_identity_pool.tf b/infrastructure/terraform/components/app/cognito_identity_pool.tf new file mode 100644 index 0000000..7d9eb50 --- /dev/null +++ b/infrastructure/terraform/components/app/cognito_identity_pool.tf @@ -0,0 +1,10 @@ +resource "aws_cognito_identity_pool" "main" { + identity_pool_name = local.csi + allow_unauthenticated_identities = true + + cognito_identity_providers { + client_id = aws_cognito_user_pool_client.main.id + provider_name = aws_cognito_user_pool.main.endpoint + server_side_token_check = false + } +} \ No newline at end of file