evannuil / aws-snapshot-tool

A Python/Boto script that automates snapshot making of EBS volumes and rotating.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to ignore the deletion of snapshot which is in use by AMI

ankush-grover-3pg opened this issue · comments

Hi,

We have couple of snapshots of EBS volumes which are in use by some AMIs. How we can make this snapshot tool to ignore these snapshots for deletion. Through SNS we get the below error message

Error in processing volumes: Error in processing volume with id:xxxxxxx

An option like this if can be configured in the config.py so that these snapshot ids can be ignored for deletion.

'ignore_snapshot_id: xxxxxx'

Thanks & Regards

Ankush Grover