Closed mkjsix closed 6 years ago
Ouch. The underlying issue looks like it's a problem in boto, to me, based on https://github.com/boto/boto/issues/2741.
There are numerous workarounds suggested in there, through stuff like creating a file at ~/.boto
which contains this:
[s3]
host=s3.eu-central-1.amazonaws.com
But that's a kind of crappy solution. In the short term, that might be the best way to be able to deploy; I'll look around to see if there's a more elegant fix.
Thanks @spenczar Meanwhile I'm just using the aws cli to sync the 'dist' folder with the S3 bucket manually, it's not a big deal.
Did they fix this issue ?
I have the same issue when copy file/folder in s3 bucket stay at eu-central-1, but in console i get this issue
$ aws s3 cp --recursive s3://bucketname/static-assets/access/ . --region=eu-central-1
usage: aws [options]
And here A client error (InvalidRequest) occurred when calling the ListObjects operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. Completed 1 part(s) with ... file(s) remaining
@Van-Tien I ended up using my own bash scripts for this, they are working fine. In your case I guess your AWS administrator is explicitly excluding eu-central-1 from the available regions.
Hi,
I'm trying to deploy to a S3 bucker in the Frankfurt region but I receive the following error:
botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the ListObjects operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
I've found a plausible explanation for this in Stackoverflow:
Rif: http://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4?answertab=votes#tab-top
Could you please help with this? I must deploy on this AWS region.
Thank you.