Erik
Erik

Reputation: 7731

Cannot delete Amazon S3 object

I have the following Amazon S3 object:

enter image description here

I cannot delete it. I have tried aws cli, 3Hub, and Amazon's Management Console. When I try using aws cli or 3Hub, I get a key does not exist error. When I try Amazon's Management Console, the object always reappears with the same last modified date.

I have noticed that the object has that %0A (linefeed?) on the end of the link and suspect that this is part of the problem.

How can I delete this object?

I have also opened a thread in the AWS forums here: https://forums.aws.amazon.com/thread.jspa?threadID=142946&tstart=0. I have also created a private support ticket -- which is getting good Amazon attention.

Update

Other things I am trying:

enter image description here

Upvotes: 0

Views: 1969

Answers (1)

Beowulf Agate
Beowulf Agate

Reputation: 26

S3s lifecycle rules unfortunately do not accept wildcards. You will have to specify the fill in the ** in 'media/**/'. You do not need the * after 'Icon' however since lifecycle rules accept a prefix, which means that all keys prefixed with what you supply will be deleted.

Upvotes: 1

Related Questions