-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to create Azure authorizer in a specific agent pool in Azure Devops #104
Comments
I have the same issue.
|
Also experiencing this issue |
I see a similar but probably related issue. I'm running a GitHub workflow using Azure Workload Identity to authenticate with Azure. The Azure Login step succeeds earlier in the workflow. This fails while it succeeded with version
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have a very strange error using sops provider in my terraform pipelines.
While the terraform itself can retrieve the values the Key needed for work with the file, the SOPS provider can't, giving me the following error
It is important to note that adding this in my terraform file:
it works properly, retrieving the key id.
If I put terraform in DEBUG I only can see the following line:
2023-04-24T10:29:04.931Z [DEBUG] provider.terraform-provider-sops_v0.7.2: [AZKV] time="2023-04-24T10:29:04Z" level=error msg="Failed to create Azure authorizer" error="Invoking Azure CLI failed with the following error: ERROR: Please run 'az login' to setup account.\n"
But the loging using the service principal has been done, if not, the terraform output would not work. Im using the following versions:
Terraform version: 1.4.5
SOPS: 0.7.2
Azurerm: v3.53.0
Obviously the process in my local machine works with any problem. So there is something (configuration...) that SOPS needs in the agent pool to work properly.
Important to say that I pass the needed env variables to the script, I don't do
az login
explicitly.Any idea?
The text was updated successfully, but these errors were encountered: