There's a similar question with answers here. However, the top answer there does not work for me:
If I use:
gsutil -m rsync -r gs://your-gcs-bucket s3://your-s3-bucket
It fails for me with:
The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-2'
Ok, rclone does work but, still, why not with gsutil rync?
I'm in London region by the way.
--region
or--zone
. In this particular case, which is more complicated, I want to set the region for AWS within a call from a GCP command. I've tried using ENV set up or default setup with GCP and AWS but for no avail so far. I wish I could understand horrclone
is sorting this issue.~/.boto
and adding under[Credentials]
s3_host = s3.eu-west-2.amazonaws.com
did solve the issue.