-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Issue while updating Cognito User Pool. (UpdateUserPoolInput.AccountRecoverySetting.RecoveryMechanisms) #24686
Comments
Hey @ItsDevMonk 👋 Thank you for taking the time to raise this! It looks like this may be a bug with the provider. So that we have all of the necessary information in order to look into this, can you update the issue description to include all of the information requested in the bug report template? |
@justinretzolk
But the code validates only account_recovery_setting so recovery_mechanism will be created as empty array. |
we cannot avoid this issue with ignore_changes😢 |
@atsushi-ishibashi . Currently I am updating the management console. But I also need to update the token Units, that I can do via console. Also not able to do via Terraform because of this AccountRecoverySetting 💔 |
@ItsDevMonk yeah😅 To prioritize #25184 , please give your thumbup |
This functionality has been released in v4.20.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
name: 🐛 Bug Report
about: CognitioIDP refresh command causing some issue during next run🤔.
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.7
Terraform AWS Provider Version 4.6.0
Affected Resource(s)
aws_cognito_user_pool
Debug Output
If I create User pool with terraform it is working fine. In state file, account recovery setting is empty.
But If i import the existing UserPool into terraform, then the same attribute will update like below,
Actual Behavior
Since this recovery_mechanism is added to state file, I can't update anything in UserPool. If I change some data I will get the below error
How can I fix this? I don't have account recovery settings in tf file. But still it is giving this error.
Note: This is same if I create the UserPool with terraform (not the import) and run
terraform refresh
command.I think, there is an issue during the describe UserPool api call.
The text was updated successfully, but these errors were encountered: