rhythmic-fireman-45324
02/01/2021, 5:10 AMlittle-cartoon-10569
02/01/2021, 8:19 AMapply
? apply
isn't deterministic so pulumi preview can't tell what the value will be; it may be reporting a potential change to be on the safe side.rhythmic-fireman-45324
02/01/2021, 9:21 AMnew aws.cognito.UserPool()
to declare the resource.little-cartoon-10569
02/01/2021, 8:06 PMapply()
? In that case I don't know. You could set the actual value in the args so that it's not relying on the default.
const userPool = new aws.cognito.UserPool("guests", {
passwordPolicy: {
minimumLength: 20,
requireLowercase: false,
requireNumbers: false,
requireSymbols: false,
requireUppsercase: false,
temporaryPasswordValidity: -1
}
});
rhythmic-fireman-45324
02/02/2021, 4:02 PMexport const userPool = new aws.cognito.UserPool(
resourceName(stack, "user-pool", "cognito"),
{
...
passwordPolicy: {
minimumLength: 8,
requireLowercase: true,
requireNumbers: true,
requireSymbols: true,
requireUppercase: true,
},
...
}
);
little-cartoon-10569
02/02/2021, 8:14 PM