aws-s3api: add --region to create-bucket example (#8825)

* aws-s3api: add command for creating bucket outside us-east-1

* aws-s3api: add command for creating bucket in specific region

* aws-s3api: change region to variable
pull/1/head
Shivam 2022-10-11 07:59:46 +05:30 committed by GitHub
parent 2c311eab4f
commit e1fddf2546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
> Create and delete Amazon S3 buckets and edit bucket properties.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html>.
- Create a bucket:
- Create bucket in a specific region:
`aws s3api create-bucket --bucket {{bucket_name}}`
`aws s3api create-bucket --bucket {{bucket_name}} --region {{region}} --create-bucket-configuration LocationConstraint={{region}}`
- Delete a bucket: