bug: Unable to set -inMemory for Dynamodb #6506
Labels
aws:dynamodb
AWS Dynamodb
good first issue
Good item to work on for newcomers
status: triage needed
LocalStack maintainers need to evaluate this issue
type: bug
Bug relating to LocalStack
Is there an existing issue for this?
Current Behavior
There's no way to explicitly toggle the
-inMemoryflag for DynamoDB - it relies ondb_pathbeing unset. However,db_pathis always set because it relies on config.dirs.data, which is always set.Expected Behavior
Maybe have an explicit env var like
DYNAMODB_IN_MEMORYto force-inMemorymode or fix the path based logic in which it can be enabled.Use case: I'm running tests on an ephemeral localstack container and don't need persistence. I think I'm experiencing the performance hit in #1205 and
-inMemoryseems be significantly faster.How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
docker-compose.ymlEnvironment
Anything else?
No response
The text was updated successfully, but these errors were encountered: