rover
rover copied to clipboard
unable to connect to azure az cli
docker run --rm -it -p 9000:9000 -v $(pwd):/src -v "$HOME/.azure-for-docker:/root/.azure" im2nguyen/rover
2023/04/12 12:07:08 Starting Rover...
2023/04/12 12:07:08 Initializing Terraform...
2023/04/12 12:07:15 Generating plan...
2023/04/12 12:07:18 Unable to parse Plan: Unable to run Plan: exit status 1
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
with provider["registry.terraform.io/hashicorp/azurerm"], on demo.tf line 1, in provider "azurerm": 1: provider "azurerm" {
as error says az is not found in $PATH, no rover issue.
Getting the same thing and AZ CLI is definitely in PATH. I got this error when running the Docker version.
If I use the Windows release version, then it complains that my Terraform binary isn't found, but it is definitely added to Path.
Anyway, I got the Windows version to work using this:
rover.exe -tfPath "D:\5. Program Files (x86)\terraform\terraform.exe"