cloud-nuke icon indicating copy to clipboard operation
cloud-nuke copied to clipboard

Add feature to delete RDS snapshots

Open alexkayabula opened this issue 4 years ago • 10 comments

Description

Adding support for filtering and deleting RDS snapshots by tag, date, name.

Related Issue

Closes: #120

Tasks

  • [x] Get all RDS snapshots
  • [x] Nuke/Delete collected RDS snapshots
  • [x] Enable CLI configuration
  • [x] Add rdssnapshots resource to list of resources
  • [x] Get all Aurora RDS Cluster snapshots
  • [x] Nuke/Delete all collected Aurora RDS Cluster snapshots
  • [x] Add RDS Instance snapshots tests
  • [x] Add Aurora RDS Cluster snapshots tests
  • [x] Implement filtering by names_regex
  • [x] Implement filtering by tags_regex

alexkayabula avatar Jun 30 '20 16:06 alexkayabula

@brikis98 @yorinasub17 Please review and check this PR and see if meets expectation.

alexkayabula avatar Jul 14 '20 07:07 alexkayabula

@brikis98 @yorinasub17 Please review and check this PR and see if meets expectation. I also kindly request that you don't snooze it like 125.

I think you clearly meant this PR - https://github.com/gruntwork-io/cloud-nuke/pull/114 which has the aforementioned comment on delayed review.

@alexkayabula - I have also put in personal time and weekends to contribute to open source. While I understand the review delay from the project maintainers as they might have other priorities, seeing someone make an example of that delay is plain hurtful and derides my contribution. Not cool and totally uncalled for.

saurabh-hirani avatar Jul 14 '20 10:07 saurabh-hirani

Attaching screenshot of the edited comment - as I suspected that instead of engaging to resolve the point I raised - my concern would be totally ignored and the comment deleted/edited.

Screenshot 2020-07-14 at 4 03 56 PM

saurabh-hirani avatar Jul 14 '20 10:07 saurabh-hirani

Hey folks, we're doing the best we can. I understand you're frustrated at the delays, but I kindly request that you don't take it out on us. Like everyone else, we're doing our best to balance open source maintenance, with running and growing a small business, and all this amidst COVID-19, which, for many people, has affected available hours (e.g., some of the maintainers have families who are now at home all day and, I hope you agree, take higher priority than responding to issues/PRs).

Not sure why you felt the need for the screenshot. @alexkayabula edited his own comment (see the comment history). We've never edited or deleted other people's comments and, in general, have a strong dedication to transparency and honesty, so it's not clear where this comes from.

We greatly appreciate your contributions and we'll incorporate them as soon as we can. In the meantime, grab a 🍺 or ☕, relax, and try to keep the conversation positive 👍

brikis98 avatar Jul 14 '20 10:07 brikis98

@saurabh-hirani I honestly understand the frustration but I suspect that @brikis98 and @yorinasub17 could be tigthly engaged at the moment. @brikis98 usually promptly reviews other open source projects like terragrunt that I have been contributing to. Lets try to keep the conversation positive and fun.

alexkayabula avatar Jul 14 '20 10:07 alexkayabula

I am all for positivity - having the opportunity to contribute to open source is a privilege and to engage with the best minds in the industry even more so. I look up to the work that Gruntwork does and can only aspire to be emulate their level of work.

Also the point isn't about delayed reviews - I am fine with a delayed review as I called in my original comment. I go through Gruntwork's monthly newsletter and it's amazing how they contribute so much to open source while creating production grade Terraform modules. I just felt calling out my contribution to push a case (as in @alexkayabula original comment) was not cool. The original comment was edited and I meant that Alex edited it instead of addressing the point I raised and I didn't mean anything else. I mentioned that as it would be easier to just keep the original comment as is and engage. But eitherways, I would want to bury the hatchet and move on. Thanks for addressing this @brikis98 and sorry for digressing this thread from a tech review. Cheers! 🍻

saurabh-hirani avatar Jul 14 '20 11:07 saurabh-hirani

Understood. Thanks everyone! 👍 🍻

brikis98 avatar Jul 14 '20 11:07 brikis98

@brikis98 @yorinasub17 is it possible to get access to the nuclear wasteland account so that I can test out this feature. Thank you.

alexkayabula avatar Oct 01 '20 18:10 alexkayabula

@alexkayabula Unfortunately, that is a private Gruntwork account, and we only give employees access to it. AWS does offer a free tier, so if you spin up a new account, and stick to the smallest RDS instance types, or even serverless, I don't think it should cost anything...

brikis98 avatar Oct 06 '20 07:10 brikis98

Giving this one a bump. It might be easiest to close this PR & revive it once we're in a good place to pick this issue up #120.

ina-stoyanova avatar Sep 28 '21 14:09 ina-stoyanova

Closing this PR as it hasn't had activity in a while and will likely be easier to re-implement. Feel free to re-open at a later date.

ellisonc avatar Apr 06 '23 14:04 ellisonc