Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've mistakenly configured a bucket policy with a name of nonexisting bucket (via cloudformation). Now I can't delete the stack (S3::DeleteBucketPolicy failed), and can't find any way to delete the policy manually. How do I do that?

share|improve this question
Casting about for an API / CLI solution, but I'm sure AWS support could take for of this for you in seconds if you're paying for Business Support (or silver-level or whatever it is they're calling it these days) – Christopher Aug 31 '12 at 13:20
@Christopher, how to do it with cli? – Fluffy Aug 31 '12 at 13:56
Not that I can find. I'd agree with John Wheal's two options below. – Christopher Sep 1 '12 at 13:18
up vote 0 down vote accepted

Option 1: - Create a bucket with the incorrect name and then try deleting the stack. I can't imagine there would be any problems as the bucket would exist.

Option 2 - Contact their support. If you don't have paid support, ask this question in their forum. Otherwise open a support ticket.

share|improve this answer
Bucket can't be created with bad name - support forum worked though. – Fluffy Dec 20 '12 at 9:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.