Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added missing validation

=1a89f2a47998
diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts
index 29aa682461..9aed17f425 100644
--- a/backend/src/lib/config/env.ts
+++ b/backend/src/lib/config/env.ts
@@ -265,7 +265,7 @@ const envSchema = z
),
/* INTERNAL ----------------------------------------------------------------------------- */
- INTERNAL_REGION: zpStr(z.string().optional())
+ INTERNAL_REGION: zpStr(z.enum(["us", "eu"]).optional())
})
// To ensure that basic encryption is always possible.
.refine(