We are building a multi tenant SaaS solution with ...
# general
b
We are building a multi tenant SaaS solution with Pulumi (Python) and are wondering if anybody has an idea on how to solve these issues: • We are using Pulumi components to create our resources. We wish to use different versions of components (as Python packages) within the same stack for different logical infra groups, what would be the best approach ? • Alternative is to create separate stacks for those logical groups, however is there a way to create dependencies between stacks (in case we need a certain output that hasn't been provisioned yet)
m
I can’t speak to the options for the first one, but for the second, have you looked into Stack References yet? https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences
b
Yes but if I understand correctly, there is no way to make it depend on another stack (equivalent to dependsOn) which can be a problem for us as stacks might have inter dependencies