diff --git a/src/database/dynamodb/dynamodb.module.ts b/src/database/dynamodb/dynamodb.module.ts index dae2c9b..b9ba9fd 100644 --- a/src/database/dynamodb/dynamodb.module.ts +++ b/src/database/dynamodb/dynamodb.module.ts @@ -10,8 +10,8 @@ import { DynamoDBDocument } from "@aws-sdk/lib-dynamodb"; useFactory: () => { const client = new DynamoDB({ credentials: { - accessKeyId: process.env.ACCESS_KEY_ID, - secretAccessKey: process.env.SECRET_ACCESS_KEY, + accessKeyId: process.env.AWS_ACCESS_KEY_ID, + secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, }, region: process.env.REGION, });