ai-cfia / ai-cfia/devops

Implement Standardized Environment Variable Validation

Aperta
#3 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description

The goal is to standardize the way we validate environment variables and configurations.

We need to implement a solution that performs this validation for all critical environment variables, checking aspects such as type, format (e.g., regex for URLs, email addresses), presence of required variables, etc.

### Acceptance Criteria

1. All critical environment variables should be validated before the server or application starts.
2. The validation should support various data types (string, integer, boolean, etc.).
3. Regular expressions should be used to validate variables like URLs and email addresses.
4. The solution should halt the application start-up if invalid environment variables are detected.

### Notes

- This validation should happen as early as possible during the application initialization to prevent any invalid configuration from affecting the system.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.