ai-cfia / ai-cfia/devops

Implement Standardized Environment Variable Validation

Open
#3 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.