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

broad-doctor-18421

02/12/2024, 3:13 PM
is there a single command I can use to see if the stack is locked? or am I foreced to run a pulumi up and find out ? I may have missed something in the CLI docs but there doesn't seem to be anything. Even something that would emit a difference.
pulumi stack history
pulumi stack
.. none of these have any indication there is a deployment running. FYI: not using pulumi cloud.
e

echoing-dinner-19531

02/12/2024, 3:59 PM
Not currently, it's a reasonable feature request if you want to raise a github issue about it
s

straight-beach-79533

02/12/2024, 4:25 PM
To keep in mind: if I am not mistaken, a feature like this, although useful, can be only best effort: there will always be the possibility of a race, so
pulumi is-locked
can return false and an immediate
pulumi up
after can still fail because another
pulumi up
raced it .
e

echoing-dinner-19531

02/12/2024, 4:26 PM
Yup in most cases you probably want https://github.com/pulumi/pulumi/issues/9047
b

broad-doctor-18421

02/13/2024, 6:19 PM
ok that's all I found as well. Thanks.