https://pulumi.com logo
#general
Title
# general
m

many-spring-73557

04/14/2022, 10:05 PM
Does pulumi have any way to check that the state storage backend is part of the project being modified? We have two projects in GCP. I was modifying one project, not realizing that I was currently logged in to the other project. Things got weird, but we were able to recover. I’m wondering if there’s some way for pulumi to catch that, so I don’t have to “just be more careful.”
r

rhythmic-branch-12845

04/15/2022, 1:16 AM
just based on a glance at the data in
~/.pulumi
(would be happy to have somebody more knowledgeable confirm or correct), it does not seem that pulumi is able to tie your login to a particular directory on disk. It looks like running
pulumi about
would help with what you want, although it is quite a lot of output and there does not seem to be a way to tweak the output save for piping into an external command (look for
Backend
)
what storage backend are you using?
m

many-spring-73557

04/18/2022, 5:30 PM
google storage