jpillora / grunt-aws

A Grunt interface into the Amazon Node.JS SDK
171 stars 44 forks source link

Fix issue creating buckets on us-standar #53

Closed mmeyerAlitmetrik closed 8 years ago

mmeyerAlitmetrik commented 8 years ago

I added a check to see if a region is passed and if is us-east-1 (us standard) don't pass it since it's the default and it will throw an error.

Also the aws sdk doc says that region its optional but the actual optional part is the CreateBucketConfiguration since if you pass any value to region that its not in what they defined it will throw an error including undefined (the value that it will have if you don't specify a region).

jpillora commented 8 years ago

thanks for the PR :)