https://pulumi.com logo
Title
g

gifted-room-26715

03/09/2023, 10:15 AM
Hi There, How can I cancel a hung update using pulumi automation api? To be specific, I'm getting a concurrent update error. Thx.
l

little-cartoon-10569

03/09/2023, 8:06 PM
pulumi cancel --stack x
will work if you set up the right project file. Or I think the Pulumi console now has a cancel button? I seem to recall them announcing that feature?
g

gifted-room-26715

03/09/2023, 8:30 PM
got it. no cancel button in console though. but does the automation api support cancel like referesh and up? any pointer will be helpful.
e

echoing-dinner-19531

03/09/2023, 8:51 PM
I don't think so, we should change it to respect each languages standard cancellation semantics (Context in Go, CancellationToken in C#, etc)
l

little-cartoon-10569

03/09/2023, 9:38 PM
I guess this is what I was thinking of... https://github.com/pulumi/service-requests/issues/62 Obviously not a popular idea, I'm the only one who has upvoted 🙂