https://pulumi.com logo
Title
g

gorgeous-lunch-7514

02/06/2023, 5:03 PM
now i need to reset my local pulumi env
e

echoing-dinner-19531

02/06/2023, 5:17 PM
Was this for a stack password?
g

gorgeous-lunch-7514

02/06/2023, 5:17 PM
aye, i believe so
i was using
pulumi login --local
so now im on the hunt as to what to remove to reset
e

echoing-dinner-19531

02/06/2023, 5:18 PM
Do you need to delete the resources from that stack? Or is ok to just reset pulumis state to nothing?
g

gorgeous-lunch-7514

02/06/2023, 5:18 PM
total reset
e

echoing-dinner-19531

02/06/2023, 5:18 PM
you can just delete the stack with
pulumi stack rm --force <stack name>
that won't change any actual resources, but totally clears pulumis state for that stack
g

gorgeous-lunch-7514

02/06/2023, 5:19 PM
Yeah I already deleted those files 😩
they’re gone gone
was trying to create a new stack and it’s asking me for a passphrase
e

echoing-dinner-19531

02/06/2023, 5:19 PM
Yeh that's a new passphrase
Every new stack can have it's own passphrase
g

gorgeous-lunch-7514

02/06/2023, 5:20 PM
Sorry, could not create stack 'dev': stack 'dev' already exists
I assume there’s a pulumi ls cmd?
e

echoing-dinner-19531

02/06/2023, 5:20 PM
stack ls
g

gorgeous-lunch-7514

02/06/2023, 5:20 PM
ayyy
there we go
cheers
e

echoing-dinner-19531

02/06/2023, 5:24 PM
n/p