title: Error while installing hashicorp/custom: provider registry
body: <p>I assume I am using the latest version of azurerm:</p>
  <pre><code>provider &quot;azurerm&quot; {
    version = &quot;=2.34.0&quot;
    features {}
  }
  </code></pre>
  <p>As soon as I add this resource to my tf script:</p>
  <p><a href="https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/policy_assignment" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/policy_assignment</a></p>
  <p>I get this error when I do <code>terraform init</code>:</p>
  <pre><code>&gt;terraform init
  
  Initializing the backend...
  
  Initializing provider plugins...
  - Finding latest version of hashicorp/custom...
  - Finding hashicorp/azurerm versions matching &quot;2.34.0&quot;...
  - Installing hashicorp/azurerm v2.34.0...
  - Installed hashicorp/azurerm v2.34.0 (signed by HashiCorp)
  
  Error: Failed to install provider
  
  Error while installing hashicorp/custom: provider registry
  registry.terraform.io does not have a provider named
  registry.terraform.io/hashicorp/custom
  </code></pre>
  <p>Am I missing any custom terraform provider? Looking at the Terraform documentation in the link above, I expect the <code>azurerm_policy_definition</code> resource must be included n the azurerm</p>