-
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
r/aws_cognitoidp_user_pool: suppress diff when schema.string_attribute_constraints is omitted #32445
Conversation
Community NoteVoting for Prioritization
For Submitters
|
…e_constraints is omitted
8b54529
to
c5a040a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
--- PASS: TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy (95.76s)
--- PASS: TestAccCognitoIDPUserPool_withEmail (97.44s)
--- PASS: TestAccCognitoIDPUserPool_basic (100.66s)
--- PASS: TestAccCognitoIDPUserPool_smsVerificationMessage (155.89s)
--- PASS: TestAccCognitoIDPUserPool_withEmailVerificationMessage (156.11s)
--- PASS: TestAccCognitoIDPUserPool_withUsername (156.18s)
--- PASS: TestAccCognitoIDPUserPool_withUsernameAttributes (159.00s)
--- PASS: TestAccCognitoIDPUserPool_withPasswordPolicy (159.05s)
--- PASS: TestAccCognitoIDPUserPool_withAliasAttributes (159.05s)
--- PASS: TestAccCognitoIDPUserPool_deletionProtection (159.28s)
--- PASS: TestAccCognitoIDPUserPool_withDevice (162.38s)
--- PASS: TestAccCognitoIDPUserPool_withAdminCreateUser (167.14s)
--- PASS: TestAccCognitoIDPUserPool_schemaAttributesModified (105.39s)
--- PASS: TestAccCognitoIDPUserPool_recovery (210.11s)
--- PASS: TestAccCognitoIDPUserPool_withTags (214.73s)
--- PASS: TestAccCognitoIDPUserPool_withAdvancedSecurityMode (220.97s)
--- PASS: TestAccCognitoIDPUserPool_disappears (65.55s)
--- PASS: TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings (138.95s)
--- PASS: TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA (239.82s)
--- PASS: TestAccCognitoIDPUserPool_withVerificationMessageTemplate (147.74s)
--- PASS: TestAccCognitoIDPUserPool_WithLambda_sms (247.88s)
--- PASS: TestAccCognitoIDPUserPool_schemaAttributesStringAttributeConstraints (96.75s)
--- PASS: TestAccCognitoIDPUserPool_schemaAttributesRemoved (94.03s)
--- PASS: TestAccCognitoIDPUserPool_WithLambda_email (254.79s)
--- PASS: TestAccCognitoIDPUserPool_withLambda (255.01s)
--- PASS: TestAccCognitoIDPUserPool_MFA_sms (256.47s)
--- PASS: TestAccCognitoIDPUserPool_schemaAttributes (111.53s)
--- PASS: TestAccCognitoIDPUserPool_SMS_snsRegion (66.25s)
--- PASS: TestAccCognitoIDPUserPool_smsAuthenticationMessage (85.76s)
--- PASS: TestAccCognitoIDPUserPool_SMS_snsCallerARN (130.77s)
--- PASS: TestAccCognitoIDPUserPool_SMS_externalID (124.31s)
--- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS (130.21s)
--- PASS: TestAccCognitoIDPUserPool_sms (139.60s)
--- PASS: TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA (78.15s)
--- PASS: TestAccCognitoIDPUserPool_update (146.29s)
--- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFA (91.13s)
This functionality has been released in v5.9.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! |
Hello, I just try the new release and seems it is working partially- since the plan continue to evidence a the following needed update: schema { Thanks for your support, Vincenzo. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Handles persistent differences when the
schema.string_attribute_constraints
argument is omitted from configuration for aString
attribute type, but returned from the AWS API with default values. Because all of the existing suppression logic was implemented in the flattener function, logic to handle this case was added there as well.Relations
Closes #21654
References
Output from Acceptance Testing