title: Deploying helm charts via Terraform Helm provider and Azure DevOps while fetching the helm charts from ACR
body: <p>I am trying to deploy the helm charts from ACR to an AKS cluster using Terraform helm provider and Azure DevOps container job but it fails while fetching the helm chart from ACR. Please let me know what is going wrong.</p>
  
  <p>helm provider tf module:</p>
  
  <pre><code>data "helm_repository" "cluster_rbac_helm_chart_repo" {
    name = "mcp-rbac-cluster"
    url  = "https://mcpshareddcr.azurecr.io"
  }
  # Deploy Cluster RBAC helm chart onto the cluster
  resource "helm_release" "cluster_rbac_helm_chart_release" {
    name  = "mcp-rbac-cluster"
    repository = data.helm_repository.cluster_rbac_helm_chart_repo.metadata[0].name
    chart = "mcp-rbac-cluster"
  }
  </code></pre>
  
  <p>provider:</p>
  
  <pre><code>  version                    = "=1.36.0"
    tenant_id                  = var.ARM_TENANT_ID
    subscription_id            = var.ARM_SUBSCRIPTION_ID
    client_id                  = var.ARM_CLIENT_ID
    client_secret              = var.ARM_CLIENT_SECRET
    skip_provider_registration = true
  }
  
  data "azurerm_kubernetes_cluster" "aks_cluster" {
    name                = var.aks_cluster
    resource_group_name = var.resource_group_aks
  }
  
  locals {
    kubeconfig_path = "/tmp/kubeconfig"
  }
  
  resource "local_file" "kubeconfig" {
    filename = local.kubeconfig_path
    content  = data.azurerm_kubernetes_cluster.aks_cluster.kube_admin_config_raw
  }
  
  provider "helm" {
    home = "resources/.helm"
    kubernetes {
      load_config_file = true
      config_path = local.kubeconfig_path
    }
  }
  
  module "aks_resources" {
    source = "./modules/helm/aks-resources"
  }
  </code></pre>
  
  <p>error:
  <strong>Error: Looks like "<em></strong>" is not a valid chart repository or cannot be reached: Failed to fetch <strong></em>/index.yaml : 404 Not Found</strong></p>