Skip to content

Commit

Permalink
fix: install dependencies for copy ddb script
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0nia committed Feb 4, 2024
1 parent 64b366d commit acf6c9e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 16 deletions.
1 change: 1 addition & 0 deletions apps/antalmanac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vitejs/plugin-react": "^4.0.4",
"aws-sdk": "^2.1550.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
Expand Down
4 changes: 2 additions & 2 deletions apps/antalmanac/tools/copy_ddb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function main() {
secretAccessKey: '',
};

const sourceTableName = 'prod-us-west-1-Backend-antalmanacuserdataddbprodE407436D-Q87Q74FD29CS';
const sourceTableName = '';
const sourceDdbClient = new DynamoDB.DocumentClient(config);
const sourceDdb = new DynamoDB(config);

Expand All @@ -34,7 +34,7 @@ async function main() {
}
);

const destinationTableName = 'antalmanac-backend-production-userdataddbAB232634-1OXTJU2H7VZWT';
const destinationTableName = '';
const destinationDdbClient = new DynamoDB.DocumentClient(config);
const destinationDdb = new DynamoDB(config);

Expand Down
46 changes: 32 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acf6c9e

Please sign in to comment.