When this error occurs, you will see an error message such as this;
snap-xxxxxxxx: The snapshot snap-xxxxxxxx is currently in use by ami-xxxxxxxx
How to fix this error ?
Before you attempt to delete an #EBS #snapshot, make sure that the AMI isn’t currently in use. AMIs can be used with a variety of AWS services, such as #Amazon Elastic #Compute #Cloud (Amazon EC2), AWS Auto Scaling, AWS CloudFormation, and more. If you delete an AMI that’s used by another service or application, the function of that service or application might be affected.
If you no longer need the EBS snapshot or its associated AMI, deregister the AMI. Then, delete the EBS snapshot in the Amazon #EC2 #console:
i. Note the AMI ID in the error message.
ii. In the left navigation pane of the Amazon EC2 console, choose AMIs.
iii. Find the AMI noted in the error message, select it, and then choose Deregister from the Actions menu.
Note: If you don’t see the AMI that you’re looking for, check any other AWS #Regions that you might have used.
iv. Delete the EBS snapshot by using the EC2 console or the AWS CLI.
More Info >>
https://ibmimedia.com/blog/86/solve-error-deleting-snapshots-in-aws