https://pulumi.com logo
#general
Title
# general
h

high-holiday-63390

11/07/2021, 11:58 PM
Is there a way to share config across stacks? Say I have a dev, staging and prod env, and I want so share some common config across them. Yet each env should be able to override individual config entries.
l

little-cartoon-10569

11/08/2021, 12:15 AM
Shared config is usually a language-specific problem. Load shared config yourself, then overwrite it with stack-specific values from Pulumi's config objects.
Some people have a shared project with one stack and no resources specifically for doing this. I find it easier just to set up a .env or import a shared object with public properties, or something like that.
e

echoing-dinner-19531

11/08/2021, 9:44 AM
We have an issue for this: https://github.com/pulumi/pulumi/issues/2307 Feel free to add votes and comments to that.