weavejester/lein-beanstalk — pull request #35 by andykitchen (2013-04-19 04:39:43+00:00)
Title: fix bucket creation in non us-east-1 regions

So AFAIK when creating a bucket you need to be connected
to the right endpoint and also set the region correctly.

The region defaults to us-east-1, so this worked
in those cases but now it should work in international regions.

See:
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/Region.html
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3.html#createBucket(java.lang.String, com.amazonaws.services.s3.model.Region)