awslabs / rds-snapshot-tool

The Snapshot Tool for Amazon RDS automates the task of creating manual snapshots, copying them into a different account and a different region, and deleting them after a specified number of days
Apache License 2.0
341 stars 146 forks source link

Reduce the number of ListTagsForResource call by excluding snapshots outside the backup interval #26

Closed rguillebert closed 5 years ago

rguillebert commented 5 years ago

I get exceptions when there's a lot of snapshots, in the case where we're checking snapshots to see if a snapshot has been taken within the backup interval, we don't need to get tags for the snapshots outside of said interval.

rguillebert commented 5 years ago

@mrcoronel have you had a chance to look at this?