Allow for rotation based on tags
Allow for rotation based on tags

Take a command line argument specified an arbitrary set of tag=value options. 
Find the intersection of snapshots having those tag=value settings,
and then apply the rotating logic to that set of snapshots.

Then, instead of rotating on volume_id, you could rotate on db cluster
and mount point on that db cluster.
zwily/ec2-rotate-volume-snapshots