I've got my stack into a state I can't seem to rec...
# general
q
I've got my stack into a state I can't seem to recover from by deleting a service manually. Pulumi wants to remove an IamPolicy for the missing service. Refresh completes but does not resolve the problem. Destroy or Up error out trying to delete the IamPolicy for the missing service--that fails, saying the service doesn't exist.
l
Sounds like you might need to do a
pulumi state delete
?
Not 100% sure if that’ll fix it completely, you may have to delete the IAM policy manually as well?
q
Thanks, I wasn't aware of
pulumi state delete
I'll check on that.
Maybe that'll be more successful than my attempts to edit the state file by hand.
l
haha yeah, I’ve gone down that path before too, always ends in tears.
q
Worked great. thanks!
👍 1