Configure the plugin in getdotenv.config.json. String values support $VAR and ${VAR:default} expansion from the composed dotenv context.
Example
{
"plugins": {
"dynamodb": {
"tablesPath": "./tables",
"tokens": {
"table": "table",
"entityManager": "entityManager",
"transform": "transform"
},
"generate": { "version": "001" },
"create": { "version": "001", "waiter": { "maxSeconds": 60 } },
"delete": { "tableName": "$DDB_TABLE" },
"purge": { "tableName": "$DDB_TABLE" },
"migrate": {
"sourceTable": "$SRC",
"targetTable": "$TGT",
"fromVersion": "001",
"toVersion": "002",
"pageSize": 100,
"transformConcurrency": 2
}
}
}
}
Precedence
plugins.dynamodb config (dotenv-expanded)Related