Is there a way in Pulumi to store shared config va...
# general
c
Is there a way in Pulumi to store shared config values? e.g. if you have certain config things that you want to be used across multiple stacks? I didn’t see anything in the docs…
Nm… you can put stuff into the main Pulumi.yaml
But it seems to require a slightly different format for objects 🤔
w
you can but we also have ESC which is exactly for this usecase
that does require using Pulumi cloud however
c
well… for static non-sensitve config values, I don’t see the value of a cloud service. But for some of the other things we have coming down the pipeline, we’ll be taking a closer look at ESC…
w
sounds good! yes it may be overkill for static config but it does have a great capability for "sharing config".
s
The value is in not having to repeat the config over and over. Note that static config is free to store. There's an API limit, but it's pretty hard to incur significant charges.
a
Multiple stacks from one project or multiple projects?
One hack is to use a reference stack to export those values.
c
multiple stacks from one project