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

Possible to omit certain environment variables? #127

Open
gtwilliams03 opened this issue Dec 1, 2022 · 1 comment
Open

Possible to omit certain environment variables? #127

gtwilliams03 opened this issue Dec 1, 2022 · 1 comment
Labels
⚡️ feature Super New feature

Comments

@gtwilliams03
Copy link

This is definitely a feature request, but I think it would be a great one. Some environment variables are needed for the app to run, some are just needed to log into the instance and create the docker container, for example.

Therefore, it would be wonderful to have an omit property, which is simply a comma-separated list of keys to omit from the environment output.

So if the collection of environment variables is:

[
    { key: 'ENV1', value: 'value 1' },
    { key: 'ENV2', value: 'value 2' },
    { key: 'ENV3', value: 'value 3' },
    { key: 'ENV4', value: 'value 4' },
]

Then you could supply an omit property of something like:

omit: ENV1,ENV3

Then the resulting environment variables would only be:

ENV2=value 2
ENV4=value 4
@say8425
Copy link
Owner

say8425 commented Dec 2, 2022

I understand. This feature looks useful!

@say8425 say8425 added ⚡️ feature Super New feature 🏭 ci Faster and more reliable labels Dec 2, 2022
@say8425 say8425 removed the 🏭 ci Faster and more reliable label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡️ feature Super New feature
Projects
None yet
Development

No branches or pull requests

2 participants