Cognito: Cannot create cfn user pool with only email MFA enabled #32615
Labels
@aws-cdk/aws-cognito
Related to Amazon Cognito
bug
This issue is a bug.
needs-reproduction
This issue needs reproduction.
p2
Describe the bug
Trying to create a Cognito user pool using the L1 construct and ONLY email MFA enabled leads to an error in CloudFormation.
This DOES work if I create the same user pool without any MFA enabled and then go to the AWS console and update it manually to have email only MFA.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
CloudFormation is able to create the requested resource without issues.
Current Behavior
Error in CloudFormation with this message:
Reproduction Steps
Here is an example of a stack that yields the error in CloudFormation
Possible Solution
No response
Additional Information/Context
Very similar bug, but with OTP only MFA enabled #11478
CDK CLI Version
2.173.2
Framework Version
No response
Node.js Version
v18.19.1
OS
Mac OS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: