title: azure cli $Path error running in terraform cloud
body: <p>Setting up terraform cloud for the first time and getting this error. Not sure why as on my local machine azure CLI is installed and the path is set, but I think has something to do with setting it in the terraform cloud platform.</p>
  <pre><code>Error: building AzureRM Client: please ensure you have installed Azure CLI version 2.0.79 or newer. Error parsing json result from the Azure CLI: launching Azure CLI: exec: &quot;az&quot;: executable file not found in $PATH.
  with provider[&quot;registry.terraform.io/hashicorp/azurerm&quot;]
  on versions.tf line 21, in provider &quot;azurerm&quot;:
  
  provider &quot;azurerm&quot; {
  </code></pre>
  <p>My currently tf code</p>
  <p>versions.tf</p>
  <pre><code>terraform {
  
    cloud {
      organization = &quot;myorg&quot;
  
      workspaces {
        name = &quot;dev&quot;
      }
    }
  
    required_providers {
      azurerm = {
        source  = &quot;hashicorp/azurerm&quot;
        version = &quot;~&gt;3.10.0&quot;
      }
    }
  
    required_version = &quot;&gt;= 1.2.3&quot;
  }
  
  provider &quot;azurerm&quot; {
    features {}
  }
  </code></pre>
  <p>variables.tf</p>
  <pre><code>variable &quot;tenant_id&quot; {
      description = &quot;tenant id for azure subscription&quot;
  }
  </code></pre>
  <p>main.tf</p>
  <pre><code>resource &quot;azurerm_resource_group&quot; &quot;testrg&quot; {
    name     = &quot;test-rg&quot;
    location = &quot;Central US&quot;
  }
  </code></pre>
  <p>not doing anything fancy, but not sure how to get past the azure CLI error. I know where variables can be set in the terraform cloud platform, but not specifically where to set a $Path for the azure cli or even how to install azure cli in terraform cloud. On my local machine, I am logging in with az login on an account with sufficient permissions to the subscription.</p>