Skip to content

Commit

Permalink
Merge pull request #3577 from MTES-MCT/fix/s3-env
Browse files Browse the repository at this point in the history
Fix env variable validation
  • Loading branch information
providenz authored Sep 17, 2024
2 parents 2484952 + 355e52d commit d45c9f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/back/env/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ export const schema = z.object({
S3_BUCKET: z.string(),
// -------
// S3 for empty bsds templates
S3_BSD_TEMPLATES_ACCESS_KEY_ID: z.string(),
S3_BSD_TEMPLATES_SECRET_ACCESS_KEY: z.string(),
S3_BSD_TEMPLATES_BUCKET: z.string(),
S3_BSD_TEMPLATES_ACCESS_KEY_ID: z.string().optional(),
S3_BSD_TEMPLATES_SECRET_ACCESS_KEY: z.string().optional(),
S3_BSD_TEMPLATES_BUCKET: z.string().optional(),
// -------
// Queues
QUEUE_MONITOR_TOKEN: z.string().optional(),
Expand Down

0 comments on commit d45c9f6

Please sign in to comment.