Skip to content

Terraform output status stuck in "deployed" state #1723

@Smuger

Description

@Smuger

Terraform version, Kubernetes provider version and Kubernetes version

Terraform version: 1.13.5
Helm Provider version: 3.1.0
Kubernetes version: 1.33

Terraform configuration

resource "helm_release" "argocd" {
  name             = "argocd"
  namespace        = "argocd"
  create_namespace = true
  repository       = "https://argoproj.github.io/argo-helm"
  chart            = "argo-cd"
  version          = var.argocd_helm_chart_version

  values = [templatefile("${path.module}/templates/values.tfpl.yaml", {
    project_id             = var.project_id
    url                    = "https://argocd.${local.hosted_zone}"
    project_env            = var.project_id 
  })]
}

Question

My helm install timed out and got stuck in deployed status

terraform refresh

returns:

argocd_helm = {
  "status" = "deployed". <- this is helm_release.argocd.status
}

even thought there is absolutly nothing deployed to the cluster.
There are no:

  • Secrets
  • CRDs
  • pods
  • jobs
  • configmaps

I also don't have any resources in my terraform state. I also cannot import that helm chart resource

This means that if I have a flag based on deployed or not it will always think helm chart was deployed

@jaylonmcshan19-x Sorry for tagging you directly. I was wondering if this behaviour has something to do with your change #1693

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions