q

    quick-wolf-8403

    3 months ago
    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

    little-apartment-30401

    3 months ago
    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

    quick-wolf-8403

    3 months ago
    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

    little-apartment-30401

    3 months ago
    haha yeah, I’ve gone down that path before too, always ends in tears.
    q

    quick-wolf-8403

    3 months ago
    Worked great. thanks!