lazywithclass / winston-cloudwatch

Send logs to Amazon Cloudwatch using Winston.
MIT License
258 stars 105 forks source link

AWS_DEFAULT_REGION fallback if AWS_REGION is undefined #227

Closed eliasjnior closed 7 months ago

eliasjnior commented 8 months ago

I noticed that the package doesn't work if AWS_DEFAULT_REGION is set, it requires AWS_REGION.

As documented here, many integrations fallbacks to AWS_DEFAULT_REGION, and this doesn't.

Maybe it's due @aws-sdk/client-cloudwatch-logs?