Skip to content

Can't use helm_release terraform resource with public.ecr.aws/eks repo #4682

@yaroslav-nakonechnikov

Description

@yaroslav-nakonechnikov

Bug Description
when i try to install it with terraform's helm provider like:

resource "helm_release" "load_balancer_controller" {
  name              = "aws-load-balancer-controller"
  repository       = "oci://public.ecr.aws/eks"
  chart            = "aws-load-balancer-controller"
  version          = "v3.2.1"
  namespace        = "kube-system"
  create_namespace = true
...
}

terraform drops an error:

Unable to locate chart oci://public.ecr.aws/eks/aws-load-balancer-controller:
manifest does not contain minimum number of descriptors (2), descriptors
found: 0

Steps to Reproduce
Use terraform to install helm chart

Expected Behavior
It installs in same way like it can be installed tgz or from pages

Environment

  • AWS Load Balancer controller version: v3.2.1
  • Kubernetes version: 1.35
  • Using EKS (yes/no), if so version?: EKS 1.35
  • Using Service or Ingress: n/a
  • AWS region: eu-central-1
  • How was the aws-load-balancer-controller installed: n/a, it can't be installed

Possible Solution (Optional)
idk what the difference, for example for karpenter it works. But i guess karpenter in slightly different repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions