Need Help Working With LocalStack #1521
Unanswered
kevinswarner
asked this question in
General
Replies: 2 comments
-
After trying for a while I was able to run dynamoose with a local dynamodb instance (localstack). Here's the config: const ddb = new dynamoose.aws.ddb.DynamoDB({
credentials: {
accessKeyId: 'myaccesskey',
secretAccessKey: 'mysecretkey'
},
region: 'us-east-1',
endpoint: 'http://host.docker.internal:4566'
});
dynamoose.aws.ddb.set(ddb); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks worked for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a simple index.js file and am attempting to work with LocalStack DynamoDB. I know I am overlooking something, but when I attempt to run this I get the error "CredentialsProviderError: Could not load credentials from any providers".
I also tried using this approach...
I received the same error.
I am running LocalStack using the Docker approach...
For some reason, I cannot see the issue. I thought I was following the example in the Dynamoose docs correctly.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions