Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform apply --auto-approve fails while downloading cert-manager #141

Closed
alphaWizard opened this issue Dec 1, 2020 · 4 comments
Closed

Comments

@alphaWizard
Copy link

I am running this command within quickstart/azure. This error comes after cluster is created.

Error: failed to download "https://charts.jetstack.io/charts/cert-manager-v0.15.1.tgz" (hint: running helm repo update may help)

on ..\rancher-common\helm.tf line 4, in resource "helm_release" "cert_manager":
4: resource "helm_release" "cert_manager" {

@bashofmann
Copy link
Contributor

I could not replicate this and it works for me. Are you maybe behind some kind of HTTP proxy when accessing the internet from your local machine that blocks this?
What happens if you add the Jetstack Helm repo locally with the Helm CLI?

helm repo add jetstack https://charts.jetstack.io

@k-harker
Copy link

I was getting the same error Error: failed to download "https://charts.jetstack.io/charts/cert-manager-v1.0.4.tgz". I had to run the following on my local machine to get it to work.

helm repo add jetstack https://charts.jetstack.io
helm repo update

I haven't used terraform before, so I didn't realize that it was running helm from my local machine.

@bashofmann bashofmann reopened this Oct 4, 2021
@bashofmann
Copy link
Contributor

Upstream issue: hashicorp/terraform-provider-helm#630

@bashofmann
Copy link
Contributor

This seems to have been fixed since version 2.0.0 of the helm terraform provider (https://github.com/hashicorp/terraform-provider-helm/blob/main/website/docs/guides/v2-upgrade-guide.markdown#removal-of-the-helm_repository-data-source) and I can't reproduce this anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants