This message was deleted.
# python
s
This message was deleted.
n
Hi dz, I believe your best bet is to create a master project, then multiple stacks within that project
To create stacks that share a single project, use the same Pulumi.yaml file in each project's folder. When you run
pulumi up
it will look for the "nearest Pulumi.yaml file" and use that as its project
b
thank you for the reply
but i don't think having a lot of stacks is the best approach, since in my opinion stack is for different purposes
n
Ah, I see now. Apologies, I misunderstood the question
As far as I'm aware that's how you'll have to do it. There's a way to configure setup.py so it will import and install modules for you upon installing your package, but beyond that, what you are doing is more or less "best practice." I'd love to learn along with you if someone knows a better way
b
ok, thank you @numerous-easter-93888. Let's hope that someone else will reply as well )