Is there a way to share config across stacks? Say ...
# general
h
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
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
We have an issue for this: https://github.com/pulumi/pulumi/issues/2307 Feel free to add votes and comments to that.