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

important-leather-28796

03/08/2019, 8:20 PM
Is there a simple way to make everything else in a stack depend on it without explicitly using
dependsOn
everywhere? We have multiple stacks e.g. identity, infrastructure, app. In the
app
package, we may have multiple stacks deploying to the same cluster from the
infrastructure
stack. So in the
app
, we want to first ensure a stack-named k8s namespace as a prerequisite for all other components. Do we need to use
dependsOn
for everything or is there a simpler way to just make sure the namespace is created first?
💯 1