diff --git a/packages/server/src/integrations/dynamodb.ts b/packages/server/src/integrations/dynamodb.ts index 841dd6ff0d..be3668a08a 100644 --- a/packages/server/src/integrations/dynamodb.ts +++ b/packages/server/src/integrations/dynamodb.ts @@ -131,7 +131,9 @@ module DynamoModule { constructor(config: DynamoDBConfig) { this.config = config - this.connect() + if (!this.config.endpoint) { + this.connect() + } let options = { correctClockSkew: true, endpoint: config.endpoint ? config.endpoint : undefined,