Things learnt from mistakes

AWS S3 - Keep the regions same for prod,dev,staging

I got a production s3 bucket in one region and the dev bucket was created in another region. This caused an error The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.  The solution to this error is to specify the version and region in the s3 config.

var s3 = new AWS.S3( {
    endpoint: '',
    signatureVersion: 'v4',
    region: 'eu-central-1'
} );

What is easier is to keep the regions same