mumoshu / terraform-provider-helmfile

Deploy Helmfile releases from Terraform
126 stars 20 forks source link

Terraform crashes #37

Closed baurmatt closed 4 years ago

baurmatt commented 4 years ago

Versions

Terraform v0.12.28

helmfile.yaml

repositories:
  - name: stable
    url: https://kubernetes-charts.storage.googleapis.com

helmDefaults:
  wait: true

releases:
  - name: heapster
    namespace: kube-system
    chart: stable/heapster
    version: 0.3.2
    values:
    - "./config/heapster/values.yaml"
    - "./config/heapster/{{ .Environment.Name }}.yaml"
    secrets:
    - "./config/heapster/secrets.yaml"
    - "./config/heapster/{{ .Environment.Name }}-secrets.yaml"

main.tf

provider "helmfile" {}
resource "helmfile_release_set" "mystack" {
  content = file("./helmfile.yaml")

  environment_variables = {
    KUBECONFIG = "${path.cwd}/kubeconfig-admin-PersonalClusters-mysql-test"
  }
}

(I can't share the kubeconfig file but I can ensure you that it is valid)

crash.log

crash.log

mumoshu commented 4 years ago

@baurmatt Thanks for reporting! Would you mind upgrading your Helmfile to v0.128.1 or greater so that it includes the fix for the internal error you've seen in the log.

baurmatt commented 4 years ago

That looks better! :) Thanks! :)