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

S3 bucket creation failed on s3-eu-west-1.amazonaws.com #123

Open
ismetozalp opened this issue Mar 15, 2013 · 1 comment
Open

S3 bucket creation failed on s3-eu-west-1.amazonaws.com #123

ismetozalp opened this issue Mar 15, 2013 · 1 comment

Comments

@ismetozalp
Copy link

Hi,
There is bug like this seems to fixed #40 ,
but when i try to create bucket in eu-west-1

AWS::S3::DEFAULT_HOST.replace "s3-eu-west-1.amazonaws.com"
AWS::S3::Bucket.create("test", :access => :private)

I got this error

....../aws-s3-0.6.3/lib/aws/s3/error.rb:38:in raise': The unspecified location constraint is incompatible for the region specific endpoint this request was sent to. (AWS::S3::IllegalLocationConstraintException) from /home/ismet/.rvm/gems/ruby-1.9.3-p392/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:72:inrequest'
from /home/ismet/.rvm/gems/ruby-1.9.3-p392/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:88:in put' from /home/ismet/.rvm/gems/ruby-1.9.3-p392/gems/aws-s3-0.6.3/lib/aws/s3/bucket.rb:79:increate'

@treeder
Copy link
Member

treeder commented Mar 18, 2013

Hi @ismetozalp , I don't think you need to specify the location constraint which I believe is just :location => "EU" in the options, eg:

AWS::S3::Bucket.create("test", :access => :private, :location=>"EU")

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

No branches or pull requests

2 participants