Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to delete objects in a folder with empty name ("") #65

Closed
defel opened this issue Dec 14, 2017 · 3 comments
Closed

Unable to delete objects in a folder with empty name ("") #65

defel opened this issue Dec 14, 2017 · 3 comments
Labels
kind/bug Something isn't working

Comments

@defel
Copy link

defel commented Dec 14, 2017

Hi,

first: I love this tool. I found it today and it protected me very effective to delete unintentionally some roles, and it nuked all experimental created resources. Very good job!

I found a small bug:

It is possible to create folders in S3 which have an empty folder-name. aws-nuke is trying to delete the files in this folder again and again.

Example output:

eu-central-1 - S3Object - 's3://xyz-dev//eu-central-1/dev/xyz-infrastructure-ecs-2017-12-08-09-22-47-132549Z.json' - waiting

As you can see between the bucket-name "xyz-dev" and 2nd-level folder-name "eu-central-1" there is a empty folder.

I had to delete this folder manually and it works now.

Thanks again!

@svenwltr svenwltr added the kind/bug Something isn't working label Dec 15, 2017
@svenwltr
Copy link
Member

I am very sorry for the late response. This ticket got lost somethow.

The issue is somewhere in the AWS SDK. aws-nuke is passing the correct S3 Object key for the SDK, but it does a request without the second /. I try to figure out how to resolve this problem.

@svenwltr
Copy link
Member

I created an error report in the SDK: aws/aws-sdk-go#1853.

@svenwltr
Copy link
Member

Will be fixes in #163.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants