@aws/nx-plugin 0.60.0 → 0.60.1
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.
- package/package.json +1 -1
- package/src/ts/react-website/cognito-auth/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/utils/identity-constructs/files/cdk/core/user-identity.ts.template +1 -1
- package/src/utils/identity-constructs/files/terraform/core/user-identity/identity/identity.tf.template +2 -4
package/package.json
CHANGED
|
@@ -161,7 +161,7 @@ export class UserIdentity extends Construct {
|
|
|
161
161
|
tempPasswordValidity: Duration.days(3),
|
|
162
162
|
},
|
|
163
163
|
mfa: Mfa.REQUIRED,
|
|
164
|
-
featurePlan: FeaturePlan.
|
|
164
|
+
featurePlan: FeaturePlan.PLUS,
|
|
165
165
|
mfaSecondFactor: { sms: true, otp: true },
|
|
166
166
|
signInCaseSensitive: false,
|
|
167
167
|
signInAliases: { username: true, email: true },
|
|
@@ -81,7 +81,7 @@ export class UserIdentity extends Construct {
|
|
|
81
81
|
tempPasswordValidity: Duration.days(3),
|
|
82
82
|
},
|
|
83
83
|
mfa: Mfa.REQUIRED,
|
|
84
|
-
featurePlan: FeaturePlan.
|
|
84
|
+
featurePlan: FeaturePlan.PLUS,
|
|
85
85
|
mfaSecondFactor: { sms: true, otp: true },
|
|
86
86
|
signInCaseSensitive: false,
|
|
87
87
|
signInAliases: { username: true, email: true },
|
|
@@ -147,10 +147,8 @@ resource "aws_cognito_user_pool" "user_pool" {
|
|
|
147
147
|
# Auto verification
|
|
148
148
|
auto_verified_attributes = ["email", "phone_number"]
|
|
149
149
|
|
|
150
|
-
# User pool
|
|
151
|
-
|
|
152
|
-
advanced_security_mode = "ENFORCED"
|
|
153
|
-
}
|
|
150
|
+
# User pool tier (equivalent to FeaturePlan.PLUS)
|
|
151
|
+
user_pool_tier = "PLUS"
|
|
154
152
|
|
|
155
153
|
# Schema attributes
|
|
156
154
|
schema {
|