they'd have to have separate state, since they dont do the same things, right? therefor each one would have to have it's own stack. I'd say move them into their own directories (and abstract common functionality. or, since the stacks would have to be different, just do some internal hooks on the stack name (
pulumi.getStack()
) to perform differently?
s
swift-dinner-29731
06/25/2019, 3:57 PM
yes, it's different. I can have different stacks but each of them related to one index.js