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

adorable-gpu-98268

05/10/2022, 6:51 AM
Is there a shortcut to refresh a stack and remove all pending operations? I currently do refresh, export, edit the stack manually and then import it again.
c

colossal-vr-62639

05/10/2022, 6:57 AM
I currently do the same. There is an issue open that talks about that very same issue I believe. https://github.com/pulumi/pulumi/issues/4265
Reference: https://github.com/pulumi/pulumi/issues/4265#issuecomment-1089332739
pulumi refresh
will now clear pending operations (except pending CREATE operations) •
pulumi up
will not error when there are pending operations, instead it will show a warning that they are there and how to resolve them.
a

adorable-gpu-98268

05/10/2022, 7:00 AM
Thanks for the pointer to the issue. In my case it’s a CREATE operation that I’m trying to get right (it just gets stuck and I have to interrupt pulumi). But to get my changes in I have to cleanup every time.
c

colossal-vr-62639

05/10/2022, 7:17 AM
Is it getting stuck quite often? Why is it getting stuck (expired credentials, network related issues)?
11 Views