{"id":21213993,"url":"https://github.com/cruxstack/terraform-aws-cognito-userpool","last_synced_at":"2026-05-18T11:05:28.590Z","repository":{"id":186377396,"uuid":"675013676","full_name":"cruxstack/terraform-aws-cognito-userpool","owner":"cruxstack","description":"Terraform Module to provision Cognito userpool","archived":false,"fork":false,"pushed_at":"2023-12-29T11:51:12.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T00:15:54.672Z","etag":null,"topics":["aws","cloudposse","cognito","cognito-idp","cognito-user-pool","oauth","oauth2","sweetops","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/cruxstack/cognito-userpool/aws/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cruxstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-05T13:43:29.000Z","updated_at":"2023-08-16T13:35:43.000Z","dependencies_parsed_at":"2024-11-20T21:40:02.553Z","dependency_job_id":null,"html_url":"https://github.com/cruxstack/terraform-aws-cognito-userpool","commit_stats":null,"previous_names":["cruxstack/terraform-aws-cognito-userpool"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/cruxstack/terraform-aws-cognito-userpool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cruxstack","download_url":"https://codeload.github.com/cruxstack/terraform-aws-cognito-userpool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264292913,"owners_count":23586060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloudposse","cognito","cognito-idp","cognito-user-pool","oauth","oauth2","sweetops","terraform","terraform-module"],"created_at":"2024-11-20T21:25:28.515Z","updated_at":"2026-05-18T11:05:23.552Z","avatar_url":"https://github.com/cruxstack.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Module: AWS Cognito Userpool\n\nTerraform module to create AWS Cognito Userpools. This module is designed to\nhave sensiable defaults for a userpool and be easily extensible for more\nadvanced use cases.\n\n## Usage\n\n```hcl\nmodule \"cognito_userpool\" {\n  source  = \"cruxstack/cognito-userpool/aws\"\n  version = \"x.x.x\"\n}\n```\n\n## Inputs\n\nIn addition to the variables documented below, this module includes several\nother optional variables (e.g., `name`, `tags`, etc.) provided by the\n`cloudposse/label/null` module. Please refer to its [documentation](https://registry.terraform.io/modules/cloudposse/label/null/latest)\nfor more details on these variables.\n\n| Name                             | Description                                                                                                                                                             |     Type     |         Default         | Required |\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------:|:-----------------------:|:--------:|\n| `domain`                         | Configuration domain to assign userpool.                                                                                                                                |    object    |          `{}`           |    No    |\n| `email_config`                   | Configuration email from the userpool.                                                                                                                                  |    object    |          `{}`           |    No    |\n| `email_verification_message`     | A string representing the email verification message                                                                                                                    |    string    |          `\"\"`           |    No    |\n| `email_verification_subject`     | A string representing the email verification subject                                                                                                                    |    string    |          `\"\"`           |    No    |\n| `admin_create_user_config`       | The configuration for AdminCreateUser requests                                                                                                                          |    object    |          `{}`           |    No    |\n| `alias_attributes`               | Attributes supported as an alias for this userpool. Possible values: phone_number, email, or preferred_username. Conflicts with `username_attributes`.                  | list(string) |          `[]`           |    No    |\n| `username_attributes`            | Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up. Conflicts with `alias_attributes`.                               | list(string) |         `null`          |    No    |\n| `deletion_protection`            | When `true`, it prevents accidental deletion of your userpool. Before you can delete a userpool that you have protected against deletion, you must set this to `false`. |     bool     |         `true`          |    No    |\n| `auto_verified_attributes`       | The attributes to be auto-verified. Possible values: `email`, `phone_number`.                                                                                           | list(string) |          `[]`           |    No    |\n| `device_config`                  | The configuration for the userpool's device tracking.                                                                                                                   |    object    |          `{}`           |    No    |\n| `lambda_config`                  | Configuration any AWS Lambda triggers associated with the userpool.                                                                                                     |    object    |          `{}`           |    No    |\n| `mfa_config`                     | Set to enable multi-factor authentication. Must be one of the following values: `ON`, `OFF`, or `OPTIONAL`.                                                             |    string    |         `\"OFF\"`         |    No    |\n| `password_policy`                | A container for information about the userpool password policy.                                                                                                         |    object    |          `{}`           |    No    |\n| `recovery_mechanisms`            | List of account recovery options.                                                                                                                                       | list(string) |          `[]`           |    No    |\n| `sms_config`                     | Configuration for SMS                                                                                                                                                   |    object    |          `{}`           |    No    |\n| `sms_authentication_message`     | A string representing the SMS authentication message.                                                                                                                   |    string    | `\"Your code is {####}\"` |    No    |\n| `sms_verification_message`       | A string representing the SMS verification message.                                                                                                                     |    string    | `\"Your code is {####}\"` |    No    |\n| `software_token_mfa_config`      | Configuration for software token multi-factor authentication.                                                                                                           |    object    |          `{}`           |    No    |\n| `user_attribute_schemas`         | Map of all user attribute schemas. The key is the attribute name.                                                                                                       | map(object)  |          `{}`           |    No    |\n| `user_attribute_update_settings` | Configuration block for user attribute update settings.                                                                                                                 |    object    |          `{}`           |    No    |\n| `username_config`                | Configuration for sername. Setting `case_sensitive` specifies whether username case sensitivity will be applied for all users in the userpool through Cognito APIs.     |    object    |          `{}`           |    No    |\n| `userpool_add_ons`               | Configuration block for userpool add-ons to enable userpool advanced security mode features                                                                             |    object    |          `{}`           |    No    |\n| `verification_message_template`  | Configuration for verification message templates.                                                                                                                       |    object    |          `{}`           |    No    |\n\n## Outputs\n\n| Name                 | Description                          |\n|----------------------|--------------------------------------|\n| `id`                 | ID of the userpool.                  |\n| `arn`                | ARN of the userpool.                 |\n| `name`               | Name of the userpool.                |\n| `endpoint`           | Dndpoint name of the userpool.       |\n| `creation_date`      | Date the userpool was created.       |\n| `last_modified_date` | Date the userpool was last modified. |\n\n## Contributing\n\nWe welcome contributions to this project. For information on setting up a\ndevelopment environment and how to make a contribution, see [CONTRIBUTING](./CONTRIBUTING.md)\ndocumentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool/lists"}