unoverse 0.1.106 → 0.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -438,6 +438,10 @@ resource "aws_cognito_user_pool" "pool" {
|
|
|
438
438
|
# is also simply the better destination: it redirects to Cognito itself, and the
|
|
439
439
|
# administrator ends up where they were trying to go rather than on a login screen with
|
|
440
440
|
# nowhere to land afterwards.
|
|
441
|
+
# SMS IS REQUIRED EVEN WHEN ONLY EMAIL IS USED. Cognito validates the whole template:
|
|
442
|
+
# omit sms_message and UpdateUserPool rejects it for an empty value that must be at
|
|
443
|
+
# least six characters. It must contain {username} and {####} or the API refuses it.
|
|
444
|
+
sms_message = "Your ${var.name} universe: {username}, temporary password {####}"
|
|
441
445
|
email_subject = "Your ${var.name} universe is ready"
|
|
442
446
|
email_message = <<-MSG
|
|
443
447
|
<p>Your universe is deployed, and this account administers it.</p>
|
package/package.json
CHANGED