Skip to content
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

resource/aws_sns_topic_subscription: Add redrive_policy argument fixes #10931 #11770

Merged
merged 2 commits into from
Feb 6, 2021

Conversation

Ricool06
Copy link
Contributor

@Ricool06 Ricool06 commented Jan 27, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #10931

Release note for CHANGELOG:

resource_aws_sns_topic_subscription: add `redrive_policy` argument.

Output from acceptance testing:

make testacc TEST=./aws TESTARGS='-run=TestAccAWSSNSTopicSubscription_redrivePolicy'

==> Checking that code complies with gofmt requirements...

TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSNSTopicSubscription_redrivePolicy -timeout 120m

=== RUN   TestAccAWSSNSTopicSubscription_redrivePolicy

=== PAUSE TestAccAWSSNSTopicSubscription_redrivePolicy

=== CONT  TestAccAWSSNSTopicSubscription_redrivePolicy

--- PASS: TestAccAWSSNSTopicSubscription_redrivePolicy (182.14s)

PASS

ok      github.com/terraform-providers/terraform-provider-aws/aws       185.013s

@Ricool06 Ricool06 requested a review from a team January 27, 2020 14:01
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/XS Managed by automation to categorize the size of a PR. service/sns Issues and PRs that pertain to the sns service. labels Jan 27, 2020
@Ricool06
Copy link
Contributor Author

Sorry, I've opened the PR from my phone, I will fill out the rest of the description when I have access to a better text editor. I need help writing the tests for this as I have never written Go before. 😊

@Ricool06 Ricool06 force-pushed the f-sns-subscription-redrive-policy branch from 2c01212 to ca0c23a Compare January 28, 2020 11:19
@ghost ghost added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/M Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Jan 28, 2020
@Ricool06 Ricool06 changed the title [WIP] resource/aws_sns_topic_subscription: Add redrive_policy argument fixes #10931 resource/aws_sns_topic_subscription: Add redrive_policy argument fixes #10931 Jan 28, 2020
@Ricool06 Ricool06 force-pushed the f-sns-subscription-redrive-policy branch 2 times, most recently from a2bf15d to 35551ee Compare January 28, 2020 15:51
@Ricool06
Copy link
Contributor Author

Tests are complete now.

@Ricool06 Ricool06 force-pushed the f-sns-subscription-redrive-policy branch from 35551ee to 40647aa Compare January 28, 2020 16:19
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. and removed size/M Managed by automation to categorize the size of a PR. labels Jan 28, 2020
@Ricool06 Ricool06 force-pushed the f-sns-subscription-redrive-policy branch from 40647aa to 4db9590 Compare January 28, 2020 16:20
@ghost ghost added size/M Managed by automation to categorize the size of a PR. and removed size/XL Managed by automation to categorize the size of a PR. labels Jan 28, 2020
@jamesanto
Copy link

Hi, is there anything I can do to speed it up?

@Ricool06
Copy link
Contributor Author

Ricool06 commented May 4, 2020

Hi, is there anything I can do to speed it up?

If you are part of the terraform team, please review the changes. If not, they recommend 👍 ing the PR and referenced issue. I'm sure the notification for my PR or the issue has bugged out for some reason.

@kabo
Copy link

kabo commented May 4, 2020

ping @bflad maybe ?

@kabo
Copy link

kabo commented May 14, 2020

ping @maryelizbeth maybe?

@Ricool06
Copy link
Contributor Author

I don't know who the active reviewers are, or how to ping them directly. It's also probably a bit of an overreach to go DMing them all over Twitter. I posted on the terraform gitter, but nobody has responded to me.

@kabo
Copy link

kabo commented May 15, 2020

Yeah, to be clear I'm not asking you to ping them, I'm pinging them to hopefully get them to have a look.

@Ricool06
Copy link
Contributor Author

Ah okay, thank you.

@Ricool06 Ricool06 removed the request for review from a team June 2, 2020 10:59
Base automatically changed from master to main January 23, 2021 00:57
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:57
@anGie44 anGie44 removed the needs-triage Waiting for first response or review from a maintainer. label Feb 6, 2021
@anGie44 anGie44 self-assigned this Feb 6, 2021
@anGie44 anGie44 force-pushed the f-sns-subscription-redrive-policy branch from 4db9590 to 234e6a9 Compare February 6, 2021 02:24
@anGie44
Copy link
Contributor

anGie44 commented Feb 6, 2021

Hi @Ricool06 -- thanks again for your contributions to this resource enhancement. Overall looks great 👍 I've rebased and will be making the folllowing updates to get this merged and added into our next release:

  • add .changelog file
  • pass redrive_policy argument on Create
  • update test check to generalize the queue ARN so we don't have hardcoded regions

@anGie44 anGie44 force-pushed the f-sns-subscription-redrive-policy branch from 3288874 to 4ac0362 Compare February 6, 2021 14:58
@anGie44 anGie44 added this to the v3.28.0 milestone Feb 6, 2021
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @Ricool06 🚀 !

Output of acceptance tests:

--- PASS: TestSuppressEquivalentSnsTopicSubscriptionDeliveryPolicy (0.00s)
--- PASS: TestObfuscateEndpointPassword (0.00s)
--- PASS: TestAccAWSSNSTopicSubscription_basic (23.05s)
--- PASS: TestAccAWSSNSTopicSubscription_rawMessageDelivery (45.12s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingEndpoint (45.63s)
--- PASS: TestAccAWSSNSTopicSubscription_filterPolicy (45.71s)
--- PASS: TestAccAWSSNSTopicSubscription_deliveryPolicy (46.63s)
--- PASS: TestAccAWSSNSTopicSubscription_redrivePolicy (47.62s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingSecuredEndpoint (76.27s)

@Ricool06
Copy link
Contributor Author

Ricool06 commented Feb 6, 2021

Thanks again @Ricool06 🚀 !

Output of acceptance tests:

--- PASS: TestSuppressEquivalentSnsTopicSubscriptionDeliveryPolicy (0.00s)
--- PASS: TestObfuscateEndpointPassword (0.00s)
--- PASS: TestAccAWSSNSTopicSubscription_basic (23.05s)
--- PASS: TestAccAWSSNSTopicSubscription_rawMessageDelivery (45.12s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingEndpoint (45.63s)
--- PASS: TestAccAWSSNSTopicSubscription_filterPolicy (45.71s)
--- PASS: TestAccAWSSNSTopicSubscription_deliveryPolicy (46.63s)
--- PASS: TestAccAWSSNSTopicSubscription_redrivePolicy (47.62s)
--- PASS: TestAccAWSSNSTopicSubscription_autoConfirmingSecuredEndpoint (76.27s)

Thanks for getting to this! Feeling lots of relief knowing this issue is coming close to resolution 😊

@anGie44 anGie44 added the enhancement Requests to existing resources that expand the functionality or scope. label Feb 6, 2021
@anGie44 anGie44 merged commit 3f0a76b into hashicorp:main Feb 6, 2021
anGie44 added a commit that referenced this pull request Feb 8, 2021
@ghost
Copy link

ghost commented Feb 12, 2021

This has been released in version 3.28.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!

@ghost
Copy link

ghost commented Mar 8, 2021

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!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/sns Issues and PRs that pertain to the sns service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resource aws_sns_topic_subscription, new argument redrive_policy
4 participants