bug: DynamoDB not returning tables when credentials are provided by fromNodeProviderChain #10063
Closed
1 task done
Labels
aws:dynamodb
Amazon DynamoDB
status: backlog
Triaged but not yet being worked on
status: resolved/stale
Closed due to staleness
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
When creating a
DynamoDBDocumentClient
with credentials provided by the@aws-sdk/credential-providers
fromNodeProviderChain
function and calling theListTablesCommand
function an empty array is returnedIf the credentials are hardcoded then the tables are returned e.g.
Expected Behavior
TableNames
should be returned when credentials created usingfromNodeProviderChain
function are passed in to theDynamoDBDocumentClient
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
table.json
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: