Reputation: 2727
I am just starting to play around with amazons AWS S3 and I attempted to create a bucket that was private with a bucket policy. The problem now is that it is so private, I can't do anything with it. (I know I don't know what I am doing) I can not access it or delete it or change the bucket policy back. Here is the code I put into the bucket policy before the problem started.
{
"Id": "Policy1329364010722",
"Statement": [
{
"Sid": "",
"Action": "s3:*",
"Effect": "Deny",
"Resource": "arn:aws:s3:::jason-private",
"Principal": {
"AWS": [
"*"
]
}
}
]
}
Is there anyway to delete the bucket?
Upvotes: 1
Views: 873
Reputation: 35107
This isn't a programmatical answer but it looks like some other users ran into the same issue. Let me know if the steps the Amazon Rep suggests are helpful.
https://forums.aws.amazon.com/thread.jspa?threadID=57876
Upvotes: 2