Terraform-provider-helm: Invalid repository cache path

Created on 22 Aug 2019  ·  3Comments  ·  Source: hashicorp/terraform-provider-helm

Terraform Version


Terraform v0.12.6

  • provider.helm v0.10.2

Affected Resource(s)

  • helm_repository

Terraform Configuration Files

provider "helm" {
  home         = "${path.root}/.helm"
}

data "helm_repository" "stable" {
  name = "stable"
  url  = "https://kubernetes-charts.storage.googleapis.com"
}

data "helm_repository" "rimusz" {
  name = "rimusz"
  url  = "https://charts.rimusz.net"
}

Debug Output


https://gist.github.com/duxet/15005bbd91393462f9c9328f7a0cd47a

Panic Output

Expected Behavior


.helm/repository/cache/ path should be used for repository cache

Actual Behavior


repository cache path gets "duplicated": .helm/repository/cache/.helm/repository/cache/ and breaks repository data loading process

Steps to Reproduce

  1. terraform plan

Important Factoids


home = "${path.root}/.helm" configuration was working fine with Terraform 0.11

References

Most helpful comment

home = "${abspath(path.root)}/.helm" works fine, so looks like home cannot be set to relative path with Terraform 0.12

All 3 comments

home = "${abspath(path.root)}/.helm" works fine, so looks like home cannot be set to relative path with Terraform 0.12

Closing this issue since is making reference to a version based on Helm 2, if this is still valid to the master branch please reopen it. Thanks.

I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexkreidler picture alexkreidler  ·  71Comments

ukphillips picture ukphillips  ·  12Comments

utx0 picture utx0  ·  11Comments

dangarthwaite picture dangarthwaite  ·  19Comments

stefanthorpe picture stefanthorpe  ·  14Comments