File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 14
14
cd "${ baseDir } "
15
15
16
16
extraFlags=""
17
- if [[ "${ toString cfg . sharedDb } " == "true" ]]; then
18
- extraFlags="-sharedDb"
17
+ if [[ "${ toString cfg . sharedDb } " ]]; then
18
+ extraFlags+ ="-sharedDb"
19
19
fi
20
20
21
21
${ config . services . dynamodb-local . package } /bin/dynamodb-local -port ${ toString cfg . port } -dbPath ${ baseDir } -disableTelemetry $extraFlags
40
40
sharedDb = lib . mkOption {
41
41
type = types . bool ;
42
42
default = false ;
43
- description = "If true, enables the -sharedDb flag for DynamoDB Local." ;
43
+ description = ''
44
+ If true, enables the -sharedDb flag for DynamoDB Local.
45
+ When enabled, DynamoDB Local creates a single database file named shared-local-instance.db.
46
+ Every program that connects to DynamoDB accesses this file. If you delete the file, you lose any data stored in it.
47
+ '' ;
44
48
} ;
45
49
} ;
46
50
You can’t perform that action at this time.
0 commit comments