Hello,

I am trying to use the `s3cmd`  tool to create a bucket in a different
region than the default US. And I am using a config file for that.

The docs [1] say that there are other regions available.
```
--region=REGION, --bucket-location=REGION
                        Region to create bucket in. As of now the regions are:
                        us-east-1, us-west-1, us-west-2, eu-west-1, eu-
                        central-1, ap-northeast-1, ap-southeast-1, ap-
                        southeast-2, sa-east-1
```
But when I try to use a region different than `US` I receive an error
message. Here is the line of my config file to use another region. I based
this file also on the official doc [2].
```
[default]
access_key = ******
access_token =
add_encoding_exts =
add_headers =
bucket_location = eu-central-1
```
The error seems to be the same of [3] but I dont understand how they solve
to create the bucket in a different region. I also used the `
--bucket-location=":default-placement" ` and the bucket is still created at
the US region.
```

ERROR: S3 error: 400 (InvalidLocationConstraint)

```
Could someone help me?

[1] https://s3tools.org/usage
[2] https://s3tools.org/kb/item14.htm
[3] https://github.com/rook/rook/issues/2945

Thanks,
Felipe
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to