Created
March 23, 2025 03:44
-
-
Save nivleshc/50e8f26a71077d32a06647cccf3266e5 to your computer and use it in GitHub Desktop.
This gist contains code from the file cognito.tf which is part of the blog-photo-location-map repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output "cognito_ui_url" { | |
value = "https://${aws_cognito_user_pool.user_pool.domain}.auth.${local.region}.amazoncognito.com/login?client_id=${aws_cognito_user_pool_client.user_pool_client.id}&response_type=code&scope=openid&redirect_uri=${tolist(aws_cognito_user_pool_client.user_pool_client.callback_urls)[0]}" | |
depends_on = [aws_cognito_user_pool.user_pool] | |
} | |
output "cognito_user_pool_id" { | |
value = aws_cognito_user_pool.user_pool.id | |
} | |
output "cognito_user_pool_client_id" { | |
value = aws_cognito_user_pool_client.user_pool_client.id | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment