https://pulumi.com logo
Title
c

calm-solstice-91146

09/27/2021, 10:54 AM
Hi guys, anyone who can help me solve the issue with a resource in a pending state caused by an interrupted terminal while updating stack? I have followed the export import solution suggested by the cli, but I can't import the file again because of the very same resource which is in this pending state 😕 "solved it", by running pulumi rm and then manually deleting the resources and spinning up again.. Not a solution, but I can continue.
b

broad-gold-44713

09/27/2021, 2:06 PM
In the export/import solution, you have to delete the pending operation from the json file. Since the operation usually was interrupted, rest of the state should be fine.
c

calm-solstice-91146

09/27/2021, 2:45 PM
Yea sound like what i attempted, but I was unsuccesful:
b

billowy-army-68599

09/27/2021, 3:40 PM
would love to know what commands you ran here, let me know if this happens again and I'm happy to help
c

calm-solstice-91146

09/28/2021, 6:05 AM
thank you, I will try recreate the error later and note the steps when I am done with my tasks.
b

broad-gold-44713

10/01/2021, 4:11 PM
@calm-solstice-91146 I usually remove the "pending_operations" node entirely. I frequently run into this if my login token expires in the middle of operations.