1.0.0 • Published 5 years ago
ford-app-horizon-dynamo-helper v1.0.0
Dump Dynamo (Table)
Downloader
Setup
environment variables
AWS_PROFILEif not using the default profileAWS_REGIONif not using the default regionL10N_TABLE(required) the name of the table to pull fromNAMESPACE(required) from:dynamicstaticemailauth0spa
Usage
Development (locally)
AWS_PROFILE=horizon AWS_REGION=eu-west-2 L10N_TABLE=dev_emea_fh_l10n NAMESPACE=dynamic node index.jsLive
node index.jsUploader
Setup
environment variables
AWS_PROFILEif not using the default profileAWS_REGIONif not using the default regionL10N_TABLE(required) the name of the table to pull fromMODE(default isall) will update the keys that are uploaded from the datauswill upload['_key', '_namespace', 'en', 'en-US']euwill upload['_key', '_namespace', 'en', 'en-GB']devwill upload all l10n keys apart from en-USgenericwill not filter the keys at all (for non-l10n tables)
parameters
- (required) path to csv
Usage
AWS_PROFILE=horizon AWS_REGION=eu-west-2 L10N_TABLE=prod_fh_l10n MODE=eu node upload-csv.js ~/Downloads/l10n.csv1.0.0
5 years ago