aws-ia / terraform-aws-eks-blueprints-addons

Terraform module which provisions addons on Amazon EKS clusters
https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/
Apache License 2.0
272 stars 127 forks source link

Chart.yaml error on helm_releases #386

Closed tfolbrecht closed 7 months ago

tfolbrecht commented 7 months ago

Description

I am getting Error: Chart.yaml on all helm_releases I pass in

Example

  helm_releases = { # .terraform/modules/eks_blueprints_addons/helm.tf
    kube_prometheus_stack = {
      name             = "kube-prometheus-stack"
      description      = "Grafana, Prometheus, Thanos, etc"
      chart            = "kube-prometheus-stack"
      repository       = "https://prometheus-community.github.io/helm-charts"
      namespace        = "kube-prometheus-stack"
      create_namespace = true
      chart_version    = "58.0.0"
      lint             = false
      wait             = false
      set = [{
        name  = "nodeSelector.NodeType"
        value = "kube-prom"
        },
        {
        name  = "ReplicaCount"
        value = "1"
      }]
    }
    ... etc

Versions

.terraform/providers/registry.terraform.io/hashicorp

source  = "terraform-aws-modules/eks/aws"
version = "20.8.4"
source  = "aws-ia/eks-blueprints-addons/aws"
version = "1.16.2"
.
├── aws
│   └── 5.43.0
│       └── linux_amd64
│           └── terraform-provider-aws_v5.43.0_x5
├── cloudinit
│   └── 2.3.3
│       └── linux_amd64
│           └── terraform-provider-cloudinit_v2.3.3_x5
├── helm
│   └── 2.13.0
│       └── linux_amd64
│           └── terraform-provider-helm_v2.13.0_x5
├── kubernetes
│   └── 2.27.0
│       └── linux_amd64
│           └── terraform-provider-kubernetes_v2.27.0_x5
├── null
│   └── 3.2.2
│       └── linux_amd64
│           └── terraform-provider-null_v3.2.2_x5
├── time
│   └── 0.11.1
│       └── linux_amd64
│           └── terraform-provider-time_v0.11.1_x5
└── tls
    └── 4.0.5
        └── linux_amd64
            └── terraform-provider-tls_v4.0.5_x5
tfolbrecht commented 7 months ago

Figured it out, I messed up the state somewhere.