I'm kind of stumped. My co-worker has been working...
# esc
b
I'm kind of stumped. My co-worker has been working on a complete revamp and cleanup of our Pulumi code. It's all checked into the repo, and working on his system fine. However, I cannot do pulumi preview (or up) without getting this error. We thought it was an ESC auth thing, but I've tried setting a token in the environment variable, I can run 'esc login' and 'esc list' without issue. The above error doesn't really give me anything to work with. Any ideas on how to troubleshoot this?
e
Can you try
pulumi env ls
just to make sure that
esc
cli is not set to a different login? Also, what makes you think it is an ESC thing? Are you using the esc-sdk in your pulumi program?
b
I've confirmed that pulumi/esc env ls and pulumi/esc login both return the same accounts. And I'm not 100% that it's an ESC thing, my coworker just had a theory about that. I'm open to other suggestions on how to troubleshoot what the source of the error is
FYI - the problem was that there was one hard-coded pulumi key buried in the code, instead of it pulling from the env variable. This is fixed now. Thanks!