<p>I am able initialize the terraform</p>
<ul>
<li>provider.helm: version = &quot;~&gt; 2.0&quot;</li>
<li>provider.kubernetes: version = &quot;~&gt; 2.0&quot;</li>
<li>provider.null: version = &quot;~&gt; 3.1&quot;</li>
</ul>
<p>Terraform has been successfully initialized!
using terraform Terraform v0.12.20
but when I run &quot;terraform apply&quot; I am getting this error &quot;The provider provider.helm does not support data source &quot;helm_repository&quot;.&quot;
here is my configuration.</p>
<pre><code>data &quot;helm_repository&quot; &quot;helm-charts-all&quot; {
  name = &quot;helm-charts-all&quot;
  url  = var.helm_repo
  username = &quot;&quot;
  password = &quot;&quot;
  }
</code></pre>

<p>Helm repository datasource has been removed in version 2.0.</p>
<p><a href="https://registry.terraform.io/providers/hashicorp/helm/1.2.4/docs/data-sources/repository" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/helm/1.2.4/docs/data-sources/repository</a></p>
<blockquote>
<p>Data Source: helm_repository
Warning: This resource is deprecated and will be removed in the next major version.</p>
</blockquote>
