-
Notifications
You must be signed in to change notification settings - Fork 14
/
cognito.tf
35 lines (25 loc) · 979 Bytes
/
cognito.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# https://registry.terraform.io/modules/lgallard/cognito-user-pool/aws/0.6.2
module "aws_cognito_user_pool" {
source = "lgallard/cognito-user-pool/aws"
version = "~> 0.6.2"
user_pool_name = var.user_pool_name
alias_attributes = var.cognito_alias_attributes
auto_verified_attributes = var.cognito_auto_verified_attributes
client_allowed_oauth_flows_user_pool_client = false
# The configuration for AdminCreateUser requests
admin_create_user_config = {}
# The Email Configuration
email_configuration = {}
password_policy = {
minimum_length = 10
require_lowercase = false
require_numbers = true
require_symbols = true
require_uppercase = true
temporary_password_validity_days = 30
}
schemas = var.cognito_schemas
string_schemas = var.cognito_string_schemas
client_name = var.cognito_client_name
tags = local.tags
}