mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 16:46:04 +02: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:
parent
2c311eab4f
commit
e1fddf2546
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
> Create and delete Amazon S3 buckets and edit bucket properties.
|
> Create and delete Amazon S3 buckets and edit bucket properties.
|
||||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html>.
|
> 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:
|
- Delete a bucket:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue