When cleaning up the old/unused resources, at times we may get into trouble deleting the used/current AMIs. Have to prevent the accidental delete/deregister of the AMIs.
I was thinking to add a tag to the AMI which should never be deleted if that tags exist.
In a similar fashion to instance termination protection, I would like the ability to have CERTAIN AMI's have a double failsafe mechanism to avoid accidental deletion.
Please suggest a way for the same.