-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Describe the bug
When using localstack (https://localstack.cloud) which includes local dynamodb within it, we can run a local dynamo instance on endpoint http://localhost:4566
When the plugin reads the local info, I see in the docker logs it's attempting two reads:
A ListTables followed by a ListBackups. The ListBackups fails with 400 because it's not supported, and that's causing the tables it found not to be displayed.
2025-04-05T17:22:50.612 INFO --- [et.reactor-0] localstack.request.aws : AWS dynamodb.ListTables => 200
2025-04-05T17:22:50.624535264Z 2025-04-05T17:22:50.624 INFO --- [et.reactor-0] localstack.request.aws : AWS dynamodb.ListBackups => 400
Steps to reproduce
- Install LocalStack by using docker:
docker run -d \
--name localstack \
-p 4566:4566 -p 4510-4559:4510-4559 \
-e SERVICES=dynamodb\
-e DOCKER_HOST=unix:///var/run/docker.sock \
localstack/localstack
- set up plugin to use DynamoDB Local, endpoint http://localhost:4566
- Create a table via plugin say from a copy action from another ddb database
- Hit reload (refresh) on plugin to re-read database, table will be missing
Expected behavior
Should read tables
I can confirm with awslocal that it's running and I have tables
awslocal dynamodb list-tables
{
"TableNames": [
"local-active-users",
Environment information:
- OS: MacOS
- IDE version: Webstorm latest
- plugin version: 2024.1.1-243