osoco / aws-tools

Shell scripts to ease some AWS administration tasks.
19 stars 16 forks source link

Feature Request: Option to deregister AMI in Clean Old Snapshots Script #1

Open leeforkenbrock opened 10 years ago

leeforkenbrock commented 10 years ago

First off, thanks for the set of tools. They are very useful.

I'm somewhat new to AWS, so maybe you already have an option for this some other way, but I'm having an issue deleting EBS Volume based snapshots because they require the AMI to be de-registered first.

I was wondering if there was a way that you could add to the script, an attribute, that tells the script to de-register AMIs of the snapshot you are wanting to delete first?

Or, is there another way with your tools to de-register AMIs that are as old as the snapshots you are wanting to delete?

Thanks for your time.

Lee

deigote commented 10 years ago

Dear @leeforkenbrock .

I'm pretty sure this option is not available at the moment, since I've never tested the tools with AMI based EBS volumnes (my snapshots were always taken from a "regular data" EBS).

As at the moment I'm not as involved in AWS development as when I wrote these tools, I don't have access to the required AWS resources to do the required testing and development on the feature you are requesting, and my time is a bit limited to prepare them from scratch.

I would be happy to try it though, if you can prepare some testing resources and grant access to them for me.