cognito terraform module 1

cognito terraform module

module "cognito-user-pool" {
  source  = "lgallard/cognito-user-pool/aws"
  version = "0.8.0"
  # insert the 25 required variables here
}

Here is what the above code is Doing:
1. It’s importing the module. The source argument tells Terraform where the module can be retrieved.
2. The version argument is optional. If you don’t include it, Terraform will use the latest version.
3. The 25 required variables are not shown here.

The module is now ready to be used.

## Input Variables

The following input variables are required:

– `name` – The name of the user pool.
– `alias_attributes` – The attributes to be auto-verified. Possible values: email, phone_number.
– `auto_verified_attributes` – The attributes to be auto-verified. Possible values: email, phone_number.
– `email_verification_message` – The contents of the email verification message.
– `email_verification_subject` – The subject of the email verification message.
– `mfa_configuration` – The MFA configuration. Possible values: OFF, ON, OPTIONAL.
– `policies` – The policies associated with the user pool.
– `schema` – The schema attributes.
– `sms_authentication_message` – The contents of the SMS authentication message.
– `sms_verification_message` – The contents of the SMS verification message.
– `username_attributes` – The attributes to be auto-verified. Possible values: email, phone_number.
– `admin_create_user_config` – The configuration for AdminCreateUser requests.
– `admin_create_user_config_allow_admin_create_user_only` – Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.
– `admin_create_user_config_unused_account_validity_days` – The user account expiration limit, in days, after which the account is no longer usable.
– `admin_create_user_config_invite_message_template` – The message template to be used for the welcome message to new users.
– `device_configuration` – The device configuration.
– `device_configuration_challenge_required_on_new_device` – Indicates whether a challenge is required on a new device. Only applicable to a new device.
– `device_configuration_device_only_remembered_on_user_prompt` – If true, a device is only remembered on user prompt.
– `email_configuration` – The email configuration.
– `email_configuration_reply_to_email_address` – The email address that is used to send the welcome message from.
– `email_configuration_source_arn` – The Amazon Resource Name (ARN) of a verified email address in Amazon SES. This email address is used in one of the following ways, depending on the value that you specify for the EmailSendingAccount parameter:
– `email_configuration_from` – The email address that is displayed in the From field to recipients.
– `email_configuration_configuration_set` – The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
– `email_configuration_configuration_set_event_destinations` – A list of configuration set event destinations.
– `email_configuration_configuration_set_event_destinations_name` – The name of the

Similar Posts