[Bug]: Unable to update the email MFA configuration #41049
Labels
bug
Addresses a defect in current functionality.
service/cognitoidp
Issues and PRs that pertain to the cognitoidp service.
Terraform Core Version
1.4
AWS Provider Version
5.84.0
Affected Resource(s)
Unable to update the email MFA configuration in the
aws_cognito_user_pool
resource.Let's assume we already have an existing
aws_cognito_user_pool resource
that was created with enforced MFA configuration, account recovery settings set to email only, and an email configuration using the sender account cognito_default.Of course, I am also aware of the prerequisites to enable email_mfa:
Now, while updating on top of the previous configuration, I updated the prerequisites and email MFA configuration at the same time and encountered an error.
Expected Behavior
Actual Behavior
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Existing resource's code
Updating - Existing Resource's Code
Steps to Reproduce
Deploy the initial code using the "existing resource's code" snippet.
Then, deploy again on top of the previous tf-state using the "updating existing resource's code" snippet
The referenced snippet code is available in the description above.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: