mirror of https://github.com/pulumi/pulumi.git
fd77fa0e32
We're seeing this error from esc ([issue](https://github.com/pulumi/esc/issues/401)) which is confusing because it recommends `pulumi login` when using `esc login`. Additionally, rerunning `pulumi login` (or `esc login`) as the message suggests doesn't actually fix anything. I think a better error message is to suggest fixing or deleting the invalid credentials file - open to suggestions though Testing: ``` ❯ go run ./cmd/pulumi login error: could not determine current cloud: failed to read Pulumi credentials file. Please fix or delete invalid credentials file: '/Users/sean/.pulumi/credentials.json': invalid character 'a' looking for beginning of value exit status 255 ``` |
||
---|---|---|
.. | ||
apitype | ||
channel | ||
constant | ||
diag | ||
encoding | ||
env | ||
promise | ||
resource | ||
slice | ||
testing | ||
tokens | ||
tools | ||
util | ||
version | ||
workspace |