aws / amazon-neptune-gremlin-java-sigv4

A Gremlin client for Amazon Neptune that includes AWS Signature Version 4 signing.
Apache License 2.0
27 stars 17 forks source link

Please add support for reading the AWS_REGION environment variable as well #23

Open 00linglin opened 4 years ago

00linglin commented 4 years ago

Currently, the code only looks for SERVICE_REGION and fails if it is not found, in AWS Lambda, the environment variable 'AWS_REGION' is prepopulated by default and can be used.

https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html

floschmedding commented 4 years ago

Thanks for the suggestion, @00linglin! We're discussing the issue.