-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cognito: Cannot create cfn user pool with only email MFA enabled #32615
Comments
Hi @dpetzev , thanks for reporting this. I am able to repro the issue with the given code - |
@dpetzev , I see that its mentioned in Cloudformation docs to provide
|
Hey @khushail, thanks for looking into it. Yes, I had the
It seems to me like it's a bug on the CloudFormation part, since the same configuration (user pool with email sending account + only email MFA enabled) is possible through the AWS console, just not with using CloudFormation. |
@dpetzev , thanks for confirming that. Since its a L1 construct that is causing error , this is definitely a cloudformation issue. I will be creating an issue with the coudformation team and you could follow the same for updates. Hope that would be helpful! |
@dpetzev , Issue created with Cloudformation team - aws-cloudformation/cloudformation-coverage-roadmap#2221. |
@khushail Thanks! |
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: