Created
March 23, 2025 03:18
-
-
Save nivleshc/618f6a5d828f0765c9ce8e0a5f821e9d 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
resource "aws_cognito_user_pool" "user_pool" { | |
name = local.cognito_user_pool_name | |
# Customize password policy, MFA, etc., as needed | |
password_policy { | |
minimum_length = local.cognito_password_policy.minimum_length | |
require_uppercase = local.cognito_password_policy.require_uppercase | |
require_lowercase = local.cognito_password_policy.require_lowercase | |
require_numbers = local.cognito_password_policy.require_numbers | |
require_symbols = local.cognito_password_policy.require_symbols | |
} | |
auto_verified_attributes = ["email"] | |
# (Optional) Enable advanced security features | |
mfa_configuration = local.cognito_mfa_configuration | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment