Skip to content

Instantly share code, notes, and snippets.

@jaywon
Last active October 13, 2017 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaywon/95d50f8cc464c34082ac52adbbf2ad11 to your computer and use it in GitHub Desktop.
Save jaywon/95d50f8cc464c34082ac52adbbf2ad11 to your computer and use it in GitHub Desktop.
AWS CLI Notes

S3

Create a bucket outside of us-east-1 requires the additional LocationConstraint configuration parameter

aws s3api create-bucket --bucket bucket-name --region us-west-2 --profile profile-name --acl private --create-bucket-configuration LocationConstraint=us-west-2

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