How I am supposed to use and stack existing the pu...
# general
b
How I am supposed to use and stack existing the pulumi service from my local machine?
pulumi stack import
?
b
it’s not super clear what you mean?
b
I've created and deployed a stack from my local machine with pulumi stack init. Then, I deleted my local folder and git cloned the repo again, and when I ran
pulumi stack ls,
there were no stacks. And if I try to import it from the pulumi service using
pulumi stack import
it says that the stack doesn't exist but I can see it in the pulumi dashboard
b
if you go into the stack page, and into settings and options, you should see this
b
yes, and I copy paste the
pulumi stack select ...
line but it says that
no stack named ... found
b
can you relogin to the service and try again? what does
pulumi whoami
print?
b
solved, wrong account 🤦🏾 thanks!
s
Slightly related: the Starship command prompt (https://starship.rs) supports showing the Pulumi account in the prompt. 🙂
b
I'll take a look, thanks!