Skip to content

Commit

Permalink
Add identity pool
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-elliott-nhsd committed Oct 14, 2024
1 parent ed4f581 commit 32c3020
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infrastructure/terraform/components/app/cognito_identity_pool.tf
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 32c3020

Please sign in to comment.