I logged the tryLambdaWriteFile, region is correct, bucket is correct, credentials are correct but the PutObjectCommand throw the header issue.
logs:
Failed to write file to Lambda:
WARN AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
INFO tryLambdaWriteFile <bucket> <key> us-west-2 {
endpoint: 'https://s3.us-west-2.amazonaws.com',
accessKeyId: '<key>',
secretAccessKey: '<secret>'
}
INFO getServiceClient us-west-2 s3 {
endpoint: 'https://s3.us-west-2.amazonaws.com',
accessKeyId: '<key>',
secretAccessKey: '<secret>'
}
From message posted on Discord by 0x_master
I logged the tryLambdaWriteFile, region is correct, bucket is correct, credentials are correct but the PutObjectCommand throw the header issue.
logs: