Closed iuliancristea closed 1 month ago
@iuliancristea thanks for the report. I would like to increase the logging to log the service being interacted with I just haven't had time. Looking at your configuration, S3Object is likely the culprit especially if you have S3 buckets with lots of objects, it'll basically hang forever.
I would suggest you remove S3Object from your configuration and try again, if it still occurs, I would split into 5-10 resources at a time until you find the culprit, but it's mostly likely S3Object
I've not seen any other resource do this.
Also are you running with --no-dry-run
or is this just discovery?
@ekristen Removing S3Object
seems to have made the program finally exit. You're right and there's a lot of resources. The issue came when I was just doing discovery - never got to actually cleaning anything up with that config.
The execution time seems rather long even though I can't see anything being majorly inefficient at a glance. I'll try to see if I can find out where most time is spent currently.
I've been thinking about picking up a side project and this seems to be a good one to work on. Also I appreciate your dedication and effort you've put in to pick up the slack, so only more reasons to get involved.
@iuliancristea sounds good. I'm going for easy of maintenance, better test coverage, automated releases and more. libnuke is where the core of the work has been done. Looking at putting a v4 roadmap together for aws-nuke soon. Hit me up via email if you want to discuss how you'd like to get involved more. Happy to share my thoughts of where I'm trying to go with it all.
Ran into the same issue with S3 Object - will removing this from include still allow bucket to be removed ?
Ran into the same issue with S3 Object - will removing this from include still allow bucket to be removed ?
Yes. S3Bucket uses special bulk delete object calls to empty the bucket first before deleting it without needing to iterate, however if there are millions of objects this can hang for a while as well.
Version:
3.2.2
Hi,
aws-nuke
seems to start hanging after processing the first (usuallyglobal
) region.With this sample config:
Part of the output after which the process starts hanging:
Stackdump: