File tree Expand file tree Collapse file tree 2 files changed +18
-12
lines changed
infra/app-rails/app-config/env-config Expand file tree Collapse file tree 2 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : v0.15.4-13-g8a81725
2+ _commit : v0.15.4-14-gb84f45f
33_src_path : https://github.com/navapbc/template-infra
44app_has_dev_env_setup : true
55app_local_port : 3100
Original file line number Diff line number Diff line change @@ -14,21 +14,27 @@ locals {
1414 # Docs: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html
1515 logout_url_path = " "
1616
17+ # Customize password policy
18+ # Docs: https://docs.aws.amazon.com/cognito/latest/developerguide/managing-users-passwords.html
19+ password_policy = {
20+ password_minimum_length = 12
21+ temporary_password_validity_days = 7
22+ }
23+
24+ # Optionally configure email template for resetting a password.
25+ # Set any attribute to a non-null value to override AWS Cognito defaults.
26+ # Docs: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html
27+ verification_email = {
28+ verification_email_message = null
29+ verification_email_subject = null
30+ }
31+
1732 identity_provider_config = var. enable_identity_provider ? {
1833 identity_provider_name = " ${ var . app_name } -${ var . environment } "
1934
20- password_policy = {
21- password_minimum_length = 12
22- temporary_password_validity_days = 7
23- }
35+ password_policy = local.password_policy
2436
25- # Optionally configure email template for resetting a password.
26- # Set any attribute to a non-null value to override AWS Cognito defaults.
27- # Docs: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html
28- verification_email = {
29- verification_email_message = null
30- verification_email_subject = null
31- }
37+ verification_email = local.verification_email
3238
3339 # Do not modify this block directly.
3440 client = {
You can’t perform that action at this time.
0 commit comments