https://github.com/mich0232/aws-cognito-user-pool
Terraform module creating simple AWS Cognito-base authentication mechanism. Domain for hosted UI is required.
https://github.com/mich0232/aws-cognito-user-pool
aws aws-cognito cognito-user-pool terraform terraform-module
Last synced: about 2 months ago
JSON representation
Terraform module creating simple AWS Cognito-base authentication mechanism. Domain for hosted UI is required.
- Host: GitHub
- URL: https://github.com/mich0232/aws-cognito-user-pool
- Owner: Mich0232
- Created: 2022-12-06T21:28:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-06T21:28:31.000Z (almost 3 years ago)
- Last Synced: 2025-03-10T08:43:52.114Z (7 months ago)
- Topics: aws, aws-cognito, cognito-user-pool, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AWS Cognito
This Terraform module creates a simple AWS Cognito authentication provider.
Users will be identified by the `email` address.- MFA is configurable.
- Account recovery by email
- Email constraints: 320 >= email.length >= 5
- Email sender: Cognito### Input variables
`project_name` - Project name (will be used as prefix in other resources)
`sso_domain` - Domain for hosted UI.
`sso_domain_certificate_arn` - ARN of SSL certificate
`callback_url` - URL to which authorization code should be sent.
`mfa` - Is MFA enabled/disabled (default: OPTIONAL)
`access_token_validity` - Minutes for how long Access Token should be valid (default: 60)
`refresh_token_validity` - Hours for how long Refresh Token should be valid (default: 1)
`id_token_validity` - Minutes for how long ID Token should be valid (default: 60)
`tags` - Tags
### Outputs
`user_pool_domain` - Domain of app-client's hosted UI.
`user_pool_distribution_arn` - Cloudfront distribution of hosted UI.