Error: Missing key/value separator

From wikieduonline
Revision as of 13:31, 12 February 2024 by Welcome (talk | contribs) (Created page with " ╷ │ Error: Missing key/value separator │ │ on main.tf line 168, in resource "helm_release" "grafana": │ 168: value = {"example.com"} │ │ Expected a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
╷
│ Error: Missing key/value separator
│
│   on main.tf line 168, in resource "helm_release" "grafana":
│  168:     value = {"example.com"}
│
│ Expected an equals sign ("=") to mark the beginning of the attribute value.
╵


resource "helm_release" "grafana" {
 name             = "grafana"
 create_namespace = true
 namespace        = "grafana"
 repository       = "https://grafana.github.io/helm-charts"
 chart            = "grafana"

 set {
   name  = "ingress.enabled"
   value = "true"
 }
 set_list {
   name  = "ingress.hosts"
   value = ["example.com"]
 }
 set {
   name  = "ingress.ingressClassName"
   value = "nginx"
 }
 set {
   name  = "ingress.tls"
   value = "true"
 }
}

Advertising: