Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Update docs for bucket creation #428

Closed
gsccheng opened this issue Mar 21, 2017 · 3 comments
Closed

Update docs for bucket creation #428

gsccheng opened this issue Mar 21, 2017 · 3 comments

Comments

@gsccheng
Copy link

The example command to create an S3 bucket I think can be updated to apply to most/all people. It would have saved me some time figuring out why my command wasn't working. Currently from the configuration instructions :

You can create a S3 bucket in the AWS console, or with the aws command line tool:

$ aws s3api --region=<your-region> create-bucket --bucket <your-bucket-name>
{
   "Location": "/<your-bucket-name>"
}

However, those not from the us-east-1 region will run into trouble with that command according to the docs:

Regions outside of us-east-1 require the appropriate LocationConstraint to be specified in order to create the bucket in the desired region:

So, I think the docs should show how something like this would be the correct construction of the command:

aws s3api create-bucket --bucket my-bucket --region eu-west-1 --create-bucket-configuration LocationConstraint=eu-west-1

Thanks!

@mumoshu
Copy link
Contributor

mumoshu commented Mar 21, 2017

@gsccheng Good catch! I have never realized that. It will be a good improvement for our docs 👍

@gsccheng
Copy link
Author

You're welcome, it was pointed out to me in Stack Overflow.

@mumoshu mumoshu added this to the v0.9.5 milestone Mar 22, 2017
@mumoshu
Copy link
Contributor

mumoshu commented Mar 23, 2017

The doc is updated. Thanks for this @gsccheng 🙇

kylehodgetts pushed a commit to HotelsDotCom/kube-aws that referenced this issue Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants