Skip to content

Commit ed14b98

Browse files
authored
Merge pull request #58 from popsail/v1
fix credentials error for aws-sdk
2 parents f8379b0 + 5c4f01b commit ed14b98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ class ServerlessDynamodbLocal {
138138
});
139139
}else{
140140
dynamoOptions = {
141-
endpoint: 'http://localhost:' + port,
142-
region: 'localhost'
141+
endpoint: 'http://localhost:' + port,
142+
region: 'localhost',
143+
accessKeyId: 'MOCK_ACCESS_KEY_ID',
144+
secretAccessKey: 'MOCK_SECRET_ACCESS_KEY'
143145
};
144146
}
145147
return {

0 commit comments

Comments
 (0)