Skip to content
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

Not able to configure "az" cli when using "oidc_path" #411

Closed
cychiang opened this issue Mar 21, 2023 · 1 comment
Closed

Not able to configure "az" cli when using "oidc_path" #411

cychiang opened this issue Mar 21, 2023 · 1 comment
Labels

Comments

@cychiang
Copy link
Contributor

cychiang commented Mar 21, 2023

What happened?

This is a potential issue when enabling oidc for provider-azure. The feature is not release yet in the current provider-azure version but we spot this issue when working with it. Here is the related issue of it: hashicorp/terraform-provider-azurerm#20794

How can we reproduce it?

The current version of terraform-provider-azurerm is 3.45.0 and when using this version with oidc will result the following error message:

 Error: unable to build authorizer for Resource Manager API: could not configure AzureCli Authorizer: could not parse Azure CLI version: launching Azure CLI: exec: "az": executable file not found in $PATH

Potential solution

After the investigation of this issue, and find out it's related to the terraform-provider-azurerm and affect version between 3.44.0 and 3.46.0. The terraform-provider-azurerm in provider-azure is using 3.45.0 so it's been affected, and confirmed the issue will be solved by bumping up version to 3.47.0.

@cychiang
Copy link
Contributor Author

I'm going to close this issue because #449 has been merged with terraform provider large than 3.45.0 and released v0.32.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants