Need S3 data support persistence
Issue #25
resolved
Need S3 data support persistence
Comments (2)
-
Account Deactivated -
reporter - changed status to resolved
@w_hummer After a change DATA_DIR from /tmp/localstack/ to /tmp/localstack__data the issue resolved, thank u very much~
- Log in to comment
Hi @yezhongkai, can you try using the
DATA_DIR
configuration parameter. For example, start up LocalStack list this:Now, when you run run your tests, LocalStack will record all API requests to the file system in
/tmp/localstack_data/s3/...
. When you terminate and re-start LocalStack, it will re-play (re-execute) the recorded API requests, hence you should get to the same persistent state of all your S3 buckets. Please give that a try and report back how it works. Thanks