You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data.kubernetes_ingress resource returns null for the status field, even though the Kubernetes Ingress resource is fully deployed and the kubectl command confirms the status.loadBalancer.ingress field is populated.
Actual Behavior
What actually happened?
helm_release.open_webui: Still creating... [2m30s elapsed]
helm_release.open_webui: Still creating... [2m40s elapsed]
helm_release.open_webui: Creation complete after 2m43s [id=open-webui]
null_resource.wait_for_ingress: Creating...
null_resource.wait_for_ingress: Creation complete after 0s [id=9110468478181892351]
data.kubernetes_ingress.openwebui_ingress: Reading...
data.kubernetes_ingress.openwebui_ingress: Read complete after 0s
╷
│ Error: Attempt to index null value
│
│ on helm_cert_manager.tf line 79, in resource "kubectl_manifest" "openwebui_certificate":
│ 79: - "${data.kubernetes_ingress.openwebui_ingress.status.0.load_balancer.0.ingress.0.hostname}"
│ ├────────────────
│ │ data.kubernetes_ingress.openwebui_ingress.status is null
│
│ This value is null, so it does not have any indices.
╵
╷
│ Error: Attempt to index null value
│
│ on helm_ollama_webui_notls.tf line 79, in output "loadbalancer_dns":
│ 79: hostname = data.kubernetes_ingress.openwebui_ingress.status.0.load_balancer.0.ingress.0.hostname
│ ├────────────────
│ │ data.kubernetes_ingress.openwebui_ingress.status is null
│
│ This value is null, so it does not have any indices.
╵
Important Factoids
The kubectl command verifies that the Ingress status.loadBalancer.ingress field is populated correctly:
kubectl get ingress open-webui -n open-webui -o yaml
Example Output:
status:
loadBalancer:
ingress:
- hostname: valid-hostname.lb.civo.com
ip: 192.0.2.1
Introducing delays (e.g., time_sleep) or dependencies on managed resources (e.g., helm_release) does not resolve the issue.
The cluster is deployed in Civo Kubernetes, but the issue appears unrelated to the cluster provider.
The text was updated successfully, but these errors were encountered:
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
data.kubernetes_ingress
Terraform Configuration Files
Debug Output
Gist.--> ingress_datasource_deploy_failure.log
Panic Output
N/A
Steps to Reproduce
Expected Behavior
The data.kubernetes_ingress resource returns null for the status field, even though the Kubernetes Ingress resource is fully deployed and the kubectl command confirms the status.loadBalancer.ingress field is populated.
Actual Behavior
What actually happened?
Important Factoids
The kubectl command verifies that the Ingress status.loadBalancer.ingress field is populated correctly:
Introducing delays (e.g., time_sleep) or dependencies on managed resources (e.g., helm_release) does not resolve the issue.
The cluster is deployed in Civo Kubernetes, but the issue appears unrelated to the cluster provider.
The text was updated successfully, but these errors were encountered: