I have been wanting to delete a lightsail snapshot in my account:
// listing the snapshots
$ aws lightsail get-instance-snapshots
// REDACTED
// however here is the culprit ongoing stuck snapshot export
$ aws lightsail get-export-snapshot-records
// REDACTED
I tried like so:
$ aws lightsail delete-instance-snapshot --instance-snapshot-name resource_name
An error occurred (OperationFailureException) when calling the DeleteInstanceSnapshot operation: You cannot delete a snapshot that is currently being exported.
Now is there a way to delete the "exportSnapshotRecords" that is blocking the deletion of the lighsail snapshot???
There seems not to be some other command targeted at this issue here https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/index.html
The snapshot export has been ongoing for over 20 months now and it is preventing me from deleting that lightsail snaphot!
How do I ABORT/CANCEL the ongoing snaphot export in the first place?
Thanks for your help.
Please note rePost question posting guidelines to NOT include personal details such as AWS Account information in questions. For your information safety, I have redacted those details from your original post.