Skip to content

Feature Request: Global environment variables #7870

@bverkron

Description

@bverkron

Is your feature request related to a problem? Please describe.
When I need to use the same environment variable in several stacks it's annoying to have to re-define and populate that variable in each stack individually. It's additionally frustrating when that variable needs to be changed and I have to go into each separate stack to change it. I'm human and I can miss some or make mistakes. :)

Describe the solution you'd like
It would be helpful to have a global area to define / load environment variables into and then maybe a toggle or other mechanism to specify whether a stack should load those global environment variables.

Describe alternatives you've considered
Not sure :/

Additional context
One example of common variables I need in several stacks is credentials for a remote mail server for sending notifications. Another is backup configuration values for a docker-volume-backup sidecar container I have in almost all my stacks (10+). Much of that configuration is the same across all instances of that sidecar container and I have to go into each of the 10+ stacks and configure the same thing and then do it all again if I have to add a new env value or modify one. Quite painstaking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions