Delete snapshot action is executed within a policy associated with registered AMIs
search cancel

Delete snapshot action is executed within a policy associated with registered AMIs

book

Article ID: 282667

calendar_today

Updated On: 04-07-2025

Products

CloudHealth

Issue/Introduction

If a snapshot is currently in use with an AMI, the platform policy will not be able to delete the snapshot and will report a failed action against the impacted snapshot. 

Resolution

If you have a requirement to delete snapshots that are currently associated with an active AMI, please review the platform ability to use a lambda function within a policy action as this does allow the flexibility to evaluate and deregister an AMI before a snapshot is destroyed within AWS.