This message was deleted.
# aws
s
This message was deleted.
l
Did you edit your state recently? There's a pointer in your state file to something that doesn't exist (or has been renamed).
e
I don't really understand the problem well. I deleted some manual stuff from aws console. After doing refresh with pulumi and there I got stuck with that problem
l
Ah that will be it. When Pulumi refreshed your SQS queue and determined that it had been deleted in AWS, it deleted it from the Pulumi state too. For some reason, this didn't delete the child EventSubscription resource (maybe it still exists?).
But the EventSubscription has a dependency on the now-missing queue.
To fix this, I think you'll have to export your stack, remove the parent property of the EventSubscription, and import your edited stack.
IMO this is a bug: Pulumi should have cleared the parent property of the EventSubscription when it detected that it had been removed.
But, it's a tough call: in code, the EventSubscription still has the queue as its parent.
In general, don't manually edit or delete resources that are managed by Pulumi. This sort of thing happens.
e
@little-cartoon-10569 thank you for helping me.