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

damp-school-17708

05/25/2021, 9:29 AM
Is there a way to 'inherit' configs from a Stack? We have 'per engineers' stacks and ideally I'd put the config in the 'main' Pulumi.yaml and not copy it over to every engineer... I found only today about the pulumi cp which is nice but Ideally I'd avoid to copy over and over those configs..
r

red-football-97286

05/25/2021, 10:17 AM
Take a look here https://www.pulumi.com/docs/intro/concepts/config/.
Copy code
You can call info from stacks using `new pulumi.Config();`.
w

worried-knife-31967

05/25/2021, 10:47 AM
You could have a single stack that has Output for all your config, that's what we're doing, but we already have a need for a core stack so it was logical for us.
9 Views