https://pulumi.com logo
Title
f

few-mechanic-54967

10/20/2022, 3:22 AM
Hello everyone, Can i put config in `Pulumi.yaml`instead of put inside each of stacks? Thank you
b

brave-planet-10645

10/20/2022, 9:19 AM
Hi, at the moment you can’t do this. We are starting some work on allowing you to do this, but it’s not ready yet. If you wanted to have a “global” config, you could have something like (assuming you’re using typescript, but you could do it for any of the languages) a
config.ts
that contained settings you wanted to persist across all stacks and include a reference to that. However, you wouldn’t be able to use secrets encrypted with the stack secrets provider like this
(although you could of course reference the stack config and get secrets that way)