aaronshaf/dynamodb-admin

No option to change dynamo-endpoint in command line.

Opened this issue · 2 comments

This is more of a feature request. You cannot run 2 different instances of dynamodb-admin pointing to 2 different dynamo endpoints. Such as http://localhost:8000 and http://localhost:8010. It would be nice to have a -d option to put in a different dynamo endpoint without having to use an env variable.

rchl commented

You can set environment variable per instance of dynamodb-admin like so:

DYNAMO_ENDPOINT=http://localhost:8000 dynamodb-admin --port 8001
DYNAMO_ENDPOINT=http://localhost:8010 dynamodb-admin --port 8002

Of course those would have to be started in two different instances of terminal.
And on Windows this syntax will not work but there are alternative options.

Of course it wouldn't hurt to also have command line option to change endpoint...

Thanks for that. It's just a feature request to make it much easier to use when having multiple apps open that work together to debug across all of them.