Skip to content

Commit 21bd0c8

Browse files
authored
Merge pull request #1 from popsail/popsail-fix-creds
fix credentials error for aws-sdk
2 parents f8379b0 + 89f5c8b commit 21bd0c8

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: '1234',
144+
secretAccessKey: '1234'
143145
};
144146
}
145147
return {

0 commit comments

Comments
 (0)