Skip to content

Commit

Permalink
Fixed env var for importer lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Nemere committed Nov 30, 2023
1 parent 18a0f58 commit abe96af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lambdas/data-import/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func HandleRequest(ctx context.Context, event awsutil.Event) (string, error) {
datasetBucket := os.Getenv("DATASETS_BUCKET")
manualBucket := os.Getenv("MANUAL_BUCKET")
envName := os.Getenv("ENVIRONMENT_NAME")
mongoSecret := os.Getenv("MONGO_SECRET") // Used to be hard coded to: "pixlise/docdb/masteruser"
mongoSecret := os.Getenv("DB_SECRET_NAME") // Used to be hard coded to: "pixlise/docdb/masteruser"

sess, err := awsutil.GetSession()
if err != nil {
Expand Down

0 comments on commit abe96af

Please sign in to comment.