https://pulumi.com logo
Title
m

many-spring-73557

06/14/2022, 12:33 AM
Is there a way to see the state backend that I’m logged in to?
pulumi whoami
just shows the username. But I don’t know if I’m logged into our custom GCP state, or pulumi service. (I can
pulumi logout && pulumi login
to be safe, but I want to programmatically determine backend for scripting)
s

salmon-account-74572

06/14/2022, 3:53 PM
Try using
pulumi whoami -v
for more verbose output. For me, when logged into the Pulumi service, that command also outputs the Organizations and the Backend URL.
m

many-spring-73557

06/14/2022, 9:20 PM
oh, cool, simple 🙂 thanks. also found
pulumi about
👍🏻 1