ai-cfia / ai-cfia/devops

Implement Standardized Environment Variable Validation

Offen
#3 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.