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.