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

bulky-area-51023

10/11/2021, 5:43 PM
Is it safe to have parallel executions of
pulumi up
in different stacks? Managed to find some open issues about enabling parallelism in automation API, wanted to make sure whether it is safe in case of CLI.
b

billowy-army-68599

10/11/2021, 5:44 PM
if you're running against different stacks, yes it is!
b

bulky-area-51023

10/11/2021, 5:47 PM
https://github.com/pulumi/pulumi/issues/6287 So can I safely assume that
workspaces
file is managed per workspace, per stack?
b

billowy-army-68599

10/11/2021, 5:51 PM
ah, are you using local workspaces?
r

red-match-15116

10/11/2021, 5:53 PM
There’s a little more information in https://github.com/pulumi/pulumi/issues/8186 about what exactly causes the
workspaces
corruption
TL;DR it’s the
createStack
or
selectStack
function running in parallel that causes the corruption, running
up
with local programs should be fine
b

bulky-area-51023

10/11/2021, 5:55 PM
Thx for the clarification!