-
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
Modernize aws_sns_topic_subscription #14923
Modernize aws_sns_topic_subscription #14923
Conversation
@bflad : Just an approach for email support on SNS, what are your thoughts ? |
These are unsupported because the endpoint needs to be authorized and does not | ||
generate an ARN until the target email address has been validated. This breaks | ||
the Terraform model and as a result are not currently supported. |
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.
Should this paragraph also be removed as part of this PR?
Any chances this one will be merged? |
@nikhil-goenka Thank you for your work on this PR! I will be working on this before long. In order to expedite the process, I will likely make some changes. Make sure that you have checked the box "Allow edits from maintainers." (Don't worry though, you will receive all credit for your contribution and code!) Also, please coordinate with us before making any commits to this branch. Again, thank you for your help and we look forward to this popular addition to the AWS provider! |
Thank you and will be great to see this branch getting merged, the box has been ticked. |
fa9a4aa
to
7404ab2
Compare
The biggest problem with email support is that unconfirmed subscriptions cannot be deleted / unsubscribed. My workaround is to remove the NOTE: It's not a big issue for testing purposes since once the test topic is removed, SNS kills the associated subscriptions. |
50da880
to
0171179
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 great! Thanks for your work @nikhil-goenka and @chammock! 🎉
Acceptance tests in GovCloud:
--- SKIP: TestAccAWSSNSTopicSubscription_autoConfirmingSecuredEndpoint (1.28s)
--- SKIP: TestAccAWSSNSTopicSubscription_autoConfirmingEndpoint (1.28s)
--- PASS: TestAccAWSSNSTopicSubscription_email (18.14s)
--- PASS: TestAccAWSSNSTopicSubscription_basic (21.83s)
--- PASS: TestAccAWSSNSTopicSubscription_rawMessageDelivery (47.23s)
--- PASS: TestAccAWSSNSTopicSubscription_filterPolicy (48.52s)
--- PASS: TestAccAWSSNSTopicSubscription_deliveryPolicy (48.52s)
--- PASS: TestAccAWSSNSTopicSubscription_redrivePolicy (52.97s)
--- SKIP: TestAccAWSSNSTopicSubscription_firehose (53.93s)
On us-west-2
:
--- PASS: TestAccAWSSNSTopicSubscription_email (14.93s)
--- PASS: TestAccAWSSNSTopicSubscription_basic (18.18s)
--- PASS: TestAccAWSSNSTopicSubscription_rawMessageDelivery (37.10s)
--- PASS: TestAccAWSSNSTopicSubscription_filterPolicy (37.97s)
--- PASS: TestAccAWSSNSTopicSubscription_deliveryPolicy (38.05s)
--- PASS: TestAccAWSSNSTopicSubscription_redrivePolicy (40.86s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingEndpoint (41.26s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingSecuredEndpoint (81.65s)
--- PASS: TestAccAWSSNSTopicSubscription_firehose (100.05s)
This has been released in version 3.30.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 for triage. Thanks! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #12286, closes #17303, closes #17307
Release note for CHANGELOG:
Output from acceptance testing: