Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback values for $ENV in config.yaml #4384

Closed
pavankrish123 opened this issue Nov 9, 2021 · 1 comment
Closed

Fallback values for $ENV in config.yaml #4384

pavankrish123 opened this issue Nov 9, 2021 · 1 comment
Labels

Comments

@pavankrish123
Copy link
Contributor

pavankrish123 commented Nov 9, 2021

Is your feature request related to a problem? Please describe.

In cases where config.yml relies on environment variables (example)

oauth2client:
    client_id: "${CLIENT_ID}"

it would be nice to have some way to specify fall back environment var if the env variable is not set instead of evaluating to blank string. Something in lines of

oauth2client:
    client_id: "${CLIENT_ID:<default-id>}"
@pavankrish123 pavankrish123 changed the title Default values for $ENV in config.yaml Fallback values for $ENV in config.yaml Nov 10, 2021
@bogdandrutu
Copy link
Member

bogdandrutu commented Nov 10, 2021

This issue does not have enough requests to justify extra dependencies and logic. We should wait until more users need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants