pkallos / winston-firehose

NodeJS module, winston logging transport which writes to AWS Firehose.
MIT License
13 stars 9 forks source link

Add support to pass the region as an additional options-param #16

Closed alfasin closed 5 years ago

alfasin commented 5 years ago

This is required when you call AWS services from outside of AWS (in our case from GCP).

Without calling Winston on the correct region we're getting the following error message:

"InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. Error: InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. "

pkallos commented 5 years ago

Looks good, thanks for your contribution!

pkallos commented 5 years ago

This is now published as v2.0.2.