Charts.yaml Missing While Deploying Helm Release Through Terraform

If you see this nonsense when deploying a helm chart…

helm_release.example: Modifying... [id=example]
│ Error: Chart.yaml file is missing
│   with helm_release.example,
│   on line 28, in resource "helm_release" "example":
│   28: resource "helm_release" "example" {

You’ve probably got a folder with the same name as the release, ie, called example - because helm can’t deal with a folder the same dir as the release name. Seriously.

#terraform #devops #helm