-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Is your feature request related to a problem? Please describe.
When I try to delete a CloudFormation stack that includes AWS Athena resources, the deletion fails if there is remaining query history. Currently, even when using the force option, the stack cannot be deleted completely because of these existing query results/history, requiring me to manually clear the Athena query history before running delstack.
Describe the solution you'd like
I would like delstack to automatically delete or clean up the AWS Athena query history associated with the stack when the deletion is executed (especially when the force flag is used). This would ensure a smoother, automated teardown without manual intervention in the AWS Console.
Additional context
Athena workgroups or associated S3 buckets often cannot be removed if they are linked to existing query metadata or results. Automating this cleanup within delstack would align perfectly with the tool's goal of "deleting stacks forcefully."