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

helm_release manifest is null #1564

Open
PAKalucki opened this issue Jan 17, 2025 · 1 comment
Open

helm_release manifest is null #1564

PAKalucki opened this issue Jan 17, 2025 · 1 comment

Comments

@PAKalucki
Copy link

Terraform, Provider, Kubernetes and Helm Versions

Terraform version: 1.10.4
Provider version: 2.17.0

Affected Resource(s)

  • helm_release

Terraform Configuration Files

resource "helm_release" "external_nginx_ingress" {
  name = "external-ingress-nginx"

  repository       = "https://kubernetes.github.io/ingress-nginx"
  chart            = "ingress-nginx"
  version          = "4.11.3"
  namespace        = "default"
  create_namespace = true
}

output "nginx_manifest_tmp" {
  value = "test : ${helm_release.external_nginx_ingress.manifest}"
}

Debug Output

Panic Output

Steps to Reproduce

  1. terraform apply

Expected Behavior

According to documentation it should output manifest (String) The rendered manifest as JSON.

Actual Behavior

│ Error: Invalid template interpolation value
│
│   on outputs.tf line 6, in output "nginx_manifest_tmp":
│    6:   value = "test : ${helm_release.external_nginx_ingress.manifest}"
│     ├────────────────
│     │ helm_release.external_nginx_ingress.manifest is null
│
│ The expression result is null. Cannot include a null value in a string template.
@madduci
Copy link

madduci commented Jan 21, 2025

I have the same issue, also by tofu test.

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

No branches or pull requests

3 participants