Skip to content

Conversation

@gjastrab
Copy link

The source of lib/aws/s3/bucket.rb included a comment that said a AWS::S3::BucketAlreadyExists exception would be raised if you try to create a Bucket with a name that already exists, however this behavior was not present. It seems that Amazon's API does not do this either, even though they mention that as an error response at http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?RESTCommonResponseHeaders.html

This feature branch adds logic within Bucket.create to do a find on the name, and raise BucketAlreadyExists if a bucket is found, otherwise it will create the bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant