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

swift-dinner-29731

06/25/2019, 3:34 PM
If there a way to run specific pulumi script? I mean I have for ex index1.js, index2.js - different deployment scripts. and I want to do somenthings like -
pulumi up index1.js
p

proud-alarm-92546

06/25/2019, 3:43 PM
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
and I can't specify concrete script.js