Does pulumi have any way to check that the state s...
# general
m
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
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
google storage