jenkins-x/terraform-aws-eks-jx

jx health installation fails

ankitm123 opened this issue · 1 comments

Summary

Terraform apply fails with this error, related the migration of artifacts from gcr to ghcr

Error: looks like "https://storage.googleapis.com/jenkinsxio/charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/jenkinsxio/charts/index.yaml : 403 Forbidden
│ 
│   with module.eks-jx.module.health.module.jx-health[0].helm_release.cluster-checks,
│   on .terraform/modules/eks-jx.health.jx-health/main.tf line 32, in resource "helm_release" "cluster-checks":
│   32: resource "helm_release" "cluster-checks" {
│ 
╵
╷
│ Error: looks like "https://storage.googleapis.com/jenkinsxio/charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/jenkinsxio/charts/index.yaml : 403 Forbidden
│ 
│   with module.eks-jx.module.health.module.jx-health[0].helm_release.health-checks-install,
│   on .terraform/modules/eks-jx.health.jx-health/main.tf line 74, in resource "helm_release" "health-checks-install":
│   74: resource "helm_release" "health-checks-install" {

Steps to reproduce the behavior

use examples/jx3 folder, and run terraform apply with the latest module.

Expected behavior

Cluster is created

Actual behavior

Cluster is not created

Terraform version

The output of terraform version is:

Terraform v1.0.4
on linux_amd64

Module version

latest master

Operating system

Ubuntu

Not an issue with the module, had to remove the .terraform folder and check the .terraform.lock.hcl file.