Has anyone started to get errors running `az` comm...
# azure
b
Has anyone started to get errors running
az
commands using the Pulumi Command resource? We've just started to see the following error:
Copy code
error: ERROR: Please run 'az login' to setup account.
    error: exit status 1
We're using a service principal to authenticate. We've ruled out expired credentials as other resources are being deployed fine (native resources) and we've tried with a new client secret. but no dice 😞
m
Are you running this locally or on a CI/CD system?
m
We see the error when running in GitHub Actions using
pulumi/actions@v4
on
ubuntu-latest
. It works fine when running locally using the same SP credentials, and had worked previously using
pulumi/actions@v3
although it has been a while since we needed to run a command. Will see if we can downgrade and try with v3 to rule that change out.
b
For some more info on this. We tested out by downgrading to
pulumi/actions@v3
, but experienced the same issue. We updated to the latest Pulumi CLI version locally (3.74.0) to rule that out and it works fine. Something very strange happening in the context of GH runners.