Running the command:
aws s3 sync s3://us-central-1-bucket s3://eu-west-1-bucket --profile wasabi --source-region us-central-1 --dryrun
Gives the following error:
fatal error: Could not connect to the endpoint URL: "https://us-central-1-bucket.s3.us-central-1.amazonaws.com/?list-type=2&prefix=&encoding-type=url"
Seems that using the --source-region option bypasses the endpoint configuration (wasabi in this case). For buckets in the same region it works
Running the command:
aws s3 sync s3://us-central-1-bucket s3://eu-west-1-bucket --profile wasabi --source-region us-central-1 --dryrun
Gives the following error:
fatal error: Could not connect to the endpoint URL: "https://us-central-1-bucket.s3.us-central-1.amazonaws.com/?list-type=2&prefix=&encoding-type=url"
Seems that using the --source-region option bypasses the endpoint configuration (wasabi in this case). For buckets in the same region it works