Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
using sample data for prod (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: diana esteves <[email protected]>
  • Loading branch information
desteves and diana esteves authored Aug 14, 2024
1 parent 1f4ac1f commit 0f30f1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion infra/src/populate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import csvParser from 'csv-parser';
// Yes, if the CSV file changes,
// on the next pulumi up,
// the Workers KV will be updated accordingly
const csv = (pulumi.getStack() === "prod") ? '../data/prod.csv' : '../data/sample.csv';
// const csv = (pulumi.getStack() === "prod") ? '../data/prod.csv' : '../data/sample.csv';

// using the smaller dataset for long-term costs savings
const csv = '../data/sample.csv';

let count = 0;
export function populateDatabase(nsId: pulumi.Output<string>, aId: string) {
Expand Down

0 comments on commit 0f30f1b

Please sign in to comment.