1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

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
This commit is contained in:
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

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: