Thread
#getting-started
    g

    gray-state-1017

    5 months ago
    I everybody! I have a simple question: I run a pulumi up with tho big charts: the cli is running for more than half an hour now and I would like to do something like a pulumi destroy. I tried logging in with another client and it says I should delete the lock. Is there an easier/faster way to proceed in such cases?
    b

    billowy-army-68599

    5 months ago
    what is big charts?
    you can remove the lock with
    pulumi cancel
    g

    gray-state-1017

    5 months ago
    Is it safe to run pulumi cancel and then pulumi destroy?
    b

    billowy-army-68599

    5 months ago
    @gray-state-1017 yes that should be safe, I replied on your stackoverflow questions as well in more depth
    g

    gray-state-1017

    5 months ago
    I did not quite get what is the overall sequence of commands you would suggest. I already tried a ctr+c once and it left all the resources spread in the cluster which I would like to avoid. What is your suggestion?
    b

    billowy-army-68599

    5 months ago
    ctrl+c will simply stop the operation. you'll need to run
    pulumi destroy
    after that
    are you saying you'd like to interrupt the running process and have it automatically clean up after you?
    g

    gray-state-1017

    5 months ago
    yes
    b

    billowy-army-68599

    5 months ago
    that isn't possible, and I'm not aware of any tool that can do that. You could possibly achieve it by creating your own solution with Automation API
    g

    gray-state-1017

    5 months ago
    Ok, and what is that goes nearest to that? ctrl+c and pulumi destroy? or pulumi cancel?
    b

    billowy-army-68599

    5 months ago
    ctrl+c and pulumi destroy is pretty much the same as pulumi cancel and pulumi destroy
    g

    gray-state-1017

    5 months ago
    thank you very much for your help!
    b

    billowy-army-68599

    5 months ago
    my pleasure! let us know any of other ways we can help
    g

    gray-state-1017

    5 months ago
    btw the pulumi cancel does not destroy the lock
    If you think I could get my question better on stack overflow, I would be happy to help other people too
    b

    billowy-army-68599

    5 months ago
    are you running it from the same directory as your program?
    g

    gray-state-1017

    5 months ago
    yes
    b

    billowy-army-68599

    5 months ago
    what does it return?
    g

    gray-state-1017

    5 months ago
    error: the stack is currently locked by 1 lock(s). Either wait for the other process(es) to end or manually delete the lock file(s).
    b

    billowy-army-68599

    5 months ago
    oh, you're using the the open source backend. in that case you'll need to manually remove it from your S3 bucket, it's managed by the bucket itself