-
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_cognito_user_pool: Support removing custom_email_sender
and custom_sms_sender
triggers
#29047
r/aws_cognito_user_pool: Support removing custom_email_sender
and custom_sms_sender
triggers
#29047
Conversation
custom_email_sender
and custom_sms_sender
triggers
Community NoteVoting for Prioritization
For Submitters
|
custom_email_sender
and custom_sms_sender
triggerscustom_email_sender
and custom_sms_sender
triggers
955744c
to
094fb1a
Compare
094fb1a
to
bd1f827
Compare
Acceptance test output: % make testacc TESTARGS='-run=TestAccCognitoIDPUserPool_' PKG=cognitoidp ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/cognitoidp/... -v -count 1 -parallel 3 -run=TestAccCognitoIDPUserPool_ -timeout 180m === RUN TestAccCognitoIDPUserPool_basic === PAUSE TestAccCognitoIDPUserPool_basic === RUN TestAccCognitoIDPUserPool_deletionProtection === PAUSE TestAccCognitoIDPUserPool_deletionProtection === RUN TestAccCognitoIDPUserPool_recovery === PAUSE TestAccCognitoIDPUserPool_recovery === RUN TestAccCognitoIDPUserPool_withAdminCreateUser === PAUSE TestAccCognitoIDPUserPool_withAdminCreateUser === RUN TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy === PAUSE TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy === RUN TestAccCognitoIDPUserPool_withAdvancedSecurityMode === PAUSE TestAccCognitoIDPUserPool_withAdvancedSecurityMode === RUN TestAccCognitoIDPUserPool_withDevice === PAUSE TestAccCognitoIDPUserPool_withDevice === RUN TestAccCognitoIDPUserPool_withEmailVerificationMessage === PAUSE TestAccCognitoIDPUserPool_withEmailVerificationMessage === RUN TestAccCognitoIDPUserPool_MFA_sms === PAUSE TestAccCognitoIDPUserPool_MFA_sms === RUN TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA === PAUSE TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA === RUN TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA === PAUSE TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA === RUN TestAccCognitoIDPUserPool_MFA_softwareTokenMFA === PAUSE TestAccCognitoIDPUserPool_MFA_softwareTokenMFA === RUN TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS === PAUSE TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS === RUN TestAccCognitoIDPUserPool_smsAuthenticationMessage === PAUSE TestAccCognitoIDPUserPool_smsAuthenticationMessage === RUN TestAccCognitoIDPUserPool_sms === PAUSE TestAccCognitoIDPUserPool_sms === RUN TestAccCognitoIDPUserPool_SMS_snsRegion === PAUSE TestAccCognitoIDPUserPool_SMS_snsRegion === RUN TestAccCognitoIDPUserPool_SMS_externalID === PAUSE TestAccCognitoIDPUserPool_SMS_externalID === RUN TestAccCognitoIDPUserPool_SMS_snsCallerARN === PAUSE TestAccCognitoIDPUserPool_SMS_snsCallerARN === RUN TestAccCognitoIDPUserPool_smsVerificationMessage === PAUSE TestAccCognitoIDPUserPool_smsVerificationMessage === RUN TestAccCognitoIDPUserPool_withEmail === PAUSE TestAccCognitoIDPUserPool_withEmail === RUN TestAccCognitoIDPUserPool_withEmailSource user_pool_test.go:853: 'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test. --- SKIP: TestAccCognitoIDPUserPool_withEmailSource (0.00s) === RUN TestAccCognitoIDPUserPool_withTags === PAUSE TestAccCognitoIDPUserPool_withTags === RUN TestAccCognitoIDPUserPool_withAliasAttributes === PAUSE TestAccCognitoIDPUserPool_withAliasAttributes === RUN TestAccCognitoIDPUserPool_withUsernameAttributes === PAUSE TestAccCognitoIDPUserPool_withUsernameAttributes === RUN TestAccCognitoIDPUserPool_withPasswordPolicy === PAUSE TestAccCognitoIDPUserPool_withPasswordPolicy === RUN TestAccCognitoIDPUserPool_withUsername === PAUSE TestAccCognitoIDPUserPool_withUsername === RUN TestAccCognitoIDPUserPool_withLambda === PAUSE TestAccCognitoIDPUserPool_withLambda === RUN TestAccCognitoIDPUserPool_WithLambda_email === PAUSE TestAccCognitoIDPUserPool_WithLambda_email === RUN TestAccCognitoIDPUserPool_WithLambda_sms === PAUSE TestAccCognitoIDPUserPool_WithLambda_sms === RUN TestAccCognitoIDPUserPool_schemaAttributes === PAUSE TestAccCognitoIDPUserPool_schemaAttributes === RUN TestAccCognitoIDPUserPool_schemaAttributesRemoved === PAUSE TestAccCognitoIDPUserPool_schemaAttributesRemoved === RUN TestAccCognitoIDPUserPool_schemaAttributesModified === PAUSE TestAccCognitoIDPUserPool_schemaAttributesModified === RUN TestAccCognitoIDPUserPool_withVerificationMessageTemplate === PAUSE TestAccCognitoIDPUserPool_withVerificationMessageTemplate === RUN TestAccCognitoIDPUserPool_update === PAUSE TestAccCognitoIDPUserPool_update === RUN TestAccCognitoIDPUserPool_disappears === PAUSE TestAccCognitoIDPUserPool_disappears === RUN TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings === PAUSE TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings === CONT TestAccCognitoIDPUserPool_basic === CONT TestAccCognitoIDPUserPool_withAdvancedSecurityMode === CONT TestAccCognitoIDPUserPool_smsVerificationMessage --- PASS: TestAccCognitoIDPUserPool_basic (19.38s) === CONT TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA --- PASS: TestAccCognitoIDPUserPool_smsVerificationMessage (30.72s) === CONT TestAccCognitoIDPUserPool_WithLambda_sms --- PASS: TestAccCognitoIDPUserPool_withAdvancedSecurityMode (42.29s) === CONT TestAccCognitoIDPUserPool_SMS_snsCallerARN --- PASS: TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA (52.11s) === CONT TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings --- PASS: TestAccCognitoIDPUserPool_WithLambda_sms (75.77s) === CONT TestAccCognitoIDPUserPool_withEmailVerificationMessage --- PASS: TestAccCognitoIDPUserPool_SMS_snsCallerARN (50.97s) === CONT TestAccCognitoIDPUserPool_disappears --- PASS: TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings (28.02s) === CONT TestAccCognitoIDPUserPool_MFA_sms === CONT TestAccCognitoIDPUserPool_SMS_externalID --- PASS: TestAccCognitoIDPUserPool_disappears (13.37s) --- PASS: TestAccCognitoIDPUserPool_withEmailVerificationMessage (28.43s) === CONT TestAccCognitoIDPUserPool_schemaAttributesModified --- PASS: TestAccCognitoIDPUserPool_schemaAttributesModified (19.05s) === CONT TestAccCognitoIDPUserPool_update --- PASS: TestAccCognitoIDPUserPool_SMS_externalID (47.39s) === CONT TestAccCognitoIDPUserPool_withVerificationMessageTemplate --- PASS: TestAccCognitoIDPUserPool_MFA_sms (58.60s) === CONT TestAccCognitoIDPUserPool_schemaAttributesRemoved --- PASS: TestAccCognitoIDPUserPool_schemaAttributesRemoved (18.96s) === CONT TestAccCognitoIDPUserPool_schemaAttributes --- PASS: TestAccCognitoIDPUserPool_withVerificationMessageTemplate (27.77s) === CONT TestAccCognitoIDPUserPool_SMS_snsRegion --- PASS: TestAccCognitoIDPUserPool_update (55.20s) === CONT TestAccCognitoIDPUserPool_withDevice --- PASS: TestAccCognitoIDPUserPool_schemaAttributes (27.89s) === CONT TestAccCognitoIDPUserPool_sms --- PASS: TestAccCognitoIDPUserPool_SMS_snsRegion (27.76s) === CONT TestAccCognitoIDPUserPool_withPasswordPolicy --- PASS: TestAccCognitoIDPUserPool_withDevice (28.11s) === CONT TestAccCognitoIDPUserPool_smsAuthenticationMessage --- PASS: TestAccCognitoIDPUserPool_withPasswordPolicy (27.32s) === CONT TestAccCognitoIDPUserPool_withAdminCreateUser --- PASS: TestAccCognitoIDPUserPool_smsAuthenticationMessage (28.16s) === CONT TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS --- PASS: TestAccCognitoIDPUserPool_sms (57.27s) === CONT TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy --- PASS: TestAccCognitoIDPUserPool_withAdminCreateUser (28.61s) === CONT TestAccCognitoIDPUserPool_WithLambda_email --- PASS: TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy (16.65s) === CONT TestAccCognitoIDPUserPool_withLambda --- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS (37.20s) === CONT TestAccCognitoIDPUserPool_withUsername --- PASS: TestAccCognitoIDPUserPool_withUsername (27.49s) === CONT TestAccCognitoIDPUserPool_withUsernameAttributes --- PASS: TestAccCognitoIDPUserPool_WithLambda_email (71.82s) === CONT TestAccCognitoIDPUserPool_MFA_softwareTokenMFA --- PASS: TestAccCognitoIDPUserPool_withLambda (63.88s) === CONT TestAccCognitoIDPUserPool_withEmail --- PASS: TestAccCognitoIDPUserPool_withUsernameAttributes (28.09s) === CONT TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA --- PASS: TestAccCognitoIDPUserPool_withEmail (16.24s) === CONT TestAccCognitoIDPUserPool_withAliasAttributes --- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFA (38.48s) === CONT TestAccCognitoIDPUserPool_recovery --- PASS: TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA (39.24s) === CONT TestAccCognitoIDPUserPool_withTags --- PASS: TestAccCognitoIDPUserPool_withAliasAttributes (28.85s) === CONT TestAccCognitoIDPUserPool_deletionProtection --- PASS: TestAccCognitoIDPUserPool_recovery (39.80s) --- PASS: TestAccCognitoIDPUserPool_deletionProtection (28.55s) --- PASS: TestAccCognitoIDPUserPool_withTags (39.55s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/cognitoidp 427.429s
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccCognitoIDPUserPool_' PKG=cognitoidp ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/cognitoidp/... -v -count 1 -parallel 3 -run=TestAccCognitoIDPUserPool_ -timeout 180m
=== RUN TestAccCognitoIDPUserPool_basic
=== PAUSE TestAccCognitoIDPUserPool_basic
=== RUN TestAccCognitoIDPUserPool_deletionProtection
=== PAUSE TestAccCognitoIDPUserPool_deletionProtection
=== RUN TestAccCognitoIDPUserPool_recovery
=== PAUSE TestAccCognitoIDPUserPool_recovery
=== RUN TestAccCognitoIDPUserPool_withAdminCreateUser
=== PAUSE TestAccCognitoIDPUserPool_withAdminCreateUser
=== RUN TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy
=== PAUSE TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy
=== RUN TestAccCognitoIDPUserPool_withAdvancedSecurityMode
=== PAUSE TestAccCognitoIDPUserPool_withAdvancedSecurityMode
=== RUN TestAccCognitoIDPUserPool_withDevice
=== PAUSE TestAccCognitoIDPUserPool_withDevice
=== RUN TestAccCognitoIDPUserPool_withEmailVerificationMessage
=== PAUSE TestAccCognitoIDPUserPool_withEmailVerificationMessage
=== RUN TestAccCognitoIDPUserPool_MFA_sms
=== PAUSE TestAccCognitoIDPUserPool_MFA_sms
=== RUN TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA
=== PAUSE TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA
=== RUN TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA
=== PAUSE TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA
=== RUN TestAccCognitoIDPUserPool_MFA_softwareTokenMFA
=== PAUSE TestAccCognitoIDPUserPool_MFA_softwareTokenMFA
=== RUN TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS
=== PAUSE TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS
=== RUN TestAccCognitoIDPUserPool_smsAuthenticationMessage
=== PAUSE TestAccCognitoIDPUserPool_smsAuthenticationMessage
=== RUN TestAccCognitoIDPUserPool_sms
=== PAUSE TestAccCognitoIDPUserPool_sms
=== RUN TestAccCognitoIDPUserPool_SMS_snsRegion
=== PAUSE TestAccCognitoIDPUserPool_SMS_snsRegion
=== RUN TestAccCognitoIDPUserPool_SMS_externalID
=== PAUSE TestAccCognitoIDPUserPool_SMS_externalID
=== RUN TestAccCognitoIDPUserPool_SMS_snsCallerARN
=== PAUSE TestAccCognitoIDPUserPool_SMS_snsCallerARN
=== RUN TestAccCognitoIDPUserPool_smsVerificationMessage
=== PAUSE TestAccCognitoIDPUserPool_smsVerificationMessage
=== RUN TestAccCognitoIDPUserPool_withEmail
=== PAUSE TestAccCognitoIDPUserPool_withEmail
=== RUN TestAccCognitoIDPUserPool_withEmailSource
user_pool_test.go:853: 'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.
--- SKIP: TestAccCognitoIDPUserPool_withEmailSource (0.00s)
=== RUN TestAccCognitoIDPUserPool_withTags
=== PAUSE TestAccCognitoIDPUserPool_withTags
=== RUN TestAccCognitoIDPUserPool_withAliasAttributes
=== PAUSE TestAccCognitoIDPUserPool_withAliasAttributes
=== RUN TestAccCognitoIDPUserPool_withUsernameAttributes
=== PAUSE TestAccCognitoIDPUserPool_withUsernameAttributes
=== RUN TestAccCognitoIDPUserPool_withPasswordPolicy
=== PAUSE TestAccCognitoIDPUserPool_withPasswordPolicy
=== RUN TestAccCognitoIDPUserPool_withUsername
=== PAUSE TestAccCognitoIDPUserPool_withUsername
=== RUN TestAccCognitoIDPUserPool_withLambda
=== PAUSE TestAccCognitoIDPUserPool_withLambda
=== RUN TestAccCognitoIDPUserPool_WithLambda_email
=== PAUSE TestAccCognitoIDPUserPool_WithLambda_email
=== RUN TestAccCognitoIDPUserPool_WithLambda_sms
=== PAUSE TestAccCognitoIDPUserPool_WithLambda_sms
=== RUN TestAccCognitoIDPUserPool_schemaAttributes
=== PAUSE TestAccCognitoIDPUserPool_schemaAttributes
=== RUN TestAccCognitoIDPUserPool_schemaAttributesRemoved
=== PAUSE TestAccCognitoIDPUserPool_schemaAttributesRemoved
=== RUN TestAccCognitoIDPUserPool_schemaAttributesModified
=== PAUSE TestAccCognitoIDPUserPool_schemaAttributesModified
=== RUN TestAccCognitoIDPUserPool_withVerificationMessageTemplate
=== PAUSE TestAccCognitoIDPUserPool_withVerificationMessageTemplate
=== RUN TestAccCognitoIDPUserPool_update
=== PAUSE TestAccCognitoIDPUserPool_update
=== RUN TestAccCognitoIDPUserPool_disappears
=== PAUSE TestAccCognitoIDPUserPool_disappears
=== RUN TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings
=== PAUSE TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings
=== CONT TestAccCognitoIDPUserPool_basic
=== CONT TestAccCognitoIDPUserPool_withAdvancedSecurityMode
=== CONT TestAccCognitoIDPUserPool_smsVerificationMessage
--- PASS: TestAccCognitoIDPUserPool_basic (19.38s)
=== CONT TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA
--- PASS: TestAccCognitoIDPUserPool_smsVerificationMessage (30.72s)
=== CONT TestAccCognitoIDPUserPool_WithLambda_sms
--- PASS: TestAccCognitoIDPUserPool_withAdvancedSecurityMode (42.29s)
=== CONT TestAccCognitoIDPUserPool_SMS_snsCallerARN
--- PASS: TestAccCognitoIDPUserPool_MFA_smsAndSoftwareTokenMFA (52.11s)
=== CONT TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings
--- PASS: TestAccCognitoIDPUserPool_WithLambda_sms (75.77s)
=== CONT TestAccCognitoIDPUserPool_withEmailVerificationMessage
--- PASS: TestAccCognitoIDPUserPool_SMS_snsCallerARN (50.97s)
=== CONT TestAccCognitoIDPUserPool_disappears
--- PASS: TestAccCognitoIDPUserPool_withUserAttributeUpdateSettings (28.02s)
=== CONT TestAccCognitoIDPUserPool_MFA_sms
=== CONT TestAccCognitoIDPUserPool_SMS_externalID
--- PASS: TestAccCognitoIDPUserPool_disappears (13.37s)
--- PASS: TestAccCognitoIDPUserPool_withEmailVerificationMessage (28.43s)
=== CONT TestAccCognitoIDPUserPool_schemaAttributesModified
--- PASS: TestAccCognitoIDPUserPool_schemaAttributesModified (19.05s)
=== CONT TestAccCognitoIDPUserPool_update
--- PASS: TestAccCognitoIDPUserPool_SMS_externalID (47.39s)
=== CONT TestAccCognitoIDPUserPool_withVerificationMessageTemplate
--- PASS: TestAccCognitoIDPUserPool_MFA_sms (58.60s)
=== CONT TestAccCognitoIDPUserPool_schemaAttributesRemoved
--- PASS: TestAccCognitoIDPUserPool_schemaAttributesRemoved (18.96s)
=== CONT TestAccCognitoIDPUserPool_schemaAttributes
--- PASS: TestAccCognitoIDPUserPool_withVerificationMessageTemplate (27.77s)
=== CONT TestAccCognitoIDPUserPool_SMS_snsRegion
--- PASS: TestAccCognitoIDPUserPool_update (55.20s)
=== CONT TestAccCognitoIDPUserPool_withDevice
--- PASS: TestAccCognitoIDPUserPool_schemaAttributes (27.89s)
=== CONT TestAccCognitoIDPUserPool_sms
--- PASS: TestAccCognitoIDPUserPool_SMS_snsRegion (27.76s)
=== CONT TestAccCognitoIDPUserPool_withPasswordPolicy
--- PASS: TestAccCognitoIDPUserPool_withDevice (28.11s)
=== CONT TestAccCognitoIDPUserPool_smsAuthenticationMessage
--- PASS: TestAccCognitoIDPUserPool_withPasswordPolicy (27.32s)
=== CONT TestAccCognitoIDPUserPool_withAdminCreateUser
--- PASS: TestAccCognitoIDPUserPool_smsAuthenticationMessage (28.16s)
=== CONT TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS
--- PASS: TestAccCognitoIDPUserPool_sms (57.27s)
=== CONT TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy
--- PASS: TestAccCognitoIDPUserPool_withAdminCreateUser (28.61s)
=== CONT TestAccCognitoIDPUserPool_WithLambda_email
--- PASS: TestAccCognitoIDPUserPool_withAdminCreateUserAndPasswordPolicy (16.65s)
=== CONT TestAccCognitoIDPUserPool_withLambda
--- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFAToSMS (37.20s)
=== CONT TestAccCognitoIDPUserPool_withUsername
--- PASS: TestAccCognitoIDPUserPool_withUsername (27.49s)
=== CONT TestAccCognitoIDPUserPool_withUsernameAttributes
--- PASS: TestAccCognitoIDPUserPool_WithLambda_email (71.82s)
=== CONT TestAccCognitoIDPUserPool_MFA_softwareTokenMFA
--- PASS: TestAccCognitoIDPUserPool_withLambda (63.88s)
=== CONT TestAccCognitoIDPUserPool_withEmail
--- PASS: TestAccCognitoIDPUserPool_withUsernameAttributes (28.09s)
=== CONT TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA
--- PASS: TestAccCognitoIDPUserPool_withEmail (16.24s)
=== CONT TestAccCognitoIDPUserPool_withAliasAttributes
--- PASS: TestAccCognitoIDPUserPool_MFA_softwareTokenMFA (38.48s)
=== CONT TestAccCognitoIDPUserPool_recovery
--- PASS: TestAccCognitoIDPUserPool_MFA_smsToSoftwareTokenMFA (39.24s)
=== CONT TestAccCognitoIDPUserPool_withTags
--- PASS: TestAccCognitoIDPUserPool_withAliasAttributes (28.85s)
=== CONT TestAccCognitoIDPUserPool_deletionProtection
--- PASS: TestAccCognitoIDPUserPool_recovery (39.80s)
--- PASS: TestAccCognitoIDPUserPool_deletionProtection (28.55s)
--- PASS: TestAccCognitoIDPUserPool_withTags (39.55s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/cognitoidp 427.429s
@swain Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.59.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
See #29048 for a motivation + description of the problem solved here.
Relations
Closes #29048
References
Output from Acceptance Testing
I am not able to run the acceptance tests myself. If someone would be willing to run them for me, it would be greatly appreciated.