connect-dynamodb icon indicating copy to clipboard operation
connect-dynamodb copied to clipboard

Configuration doesn't read region from environment variable AWS_REGION

Open Triforcey opened this issue 6 years ago • 1 comments

The documentation for the AWS SDK mentions being able to set the AWS region via an environment variable here. connect-dynamodb doesn't yet respect this environment variable. If the developer is unaware of this it can lead to the session table being hosted in a different region than the rest of the database.

Triforcey avatar Jul 26 '18 20:07 Triforcey

Will need to retest this after #76 . If it stays as written the only methods for getting a client will be:

  • Manual creation to pass in as client Fully the developer's resonsibility.
  • Native new DynamoDBClient() functionality. I think it covers the variable you've mentioned, or at least does what developer would expect.

lancegliser avatar Nov 30 '22 23:11 lancegliser