zenml-io / mlstacks

A series of Terraform based recipes to provision popular MLOps stacks on the cloud.
https://mlstacks.zenml.io/
Apache License 2.0
246 stars 32 forks source link

Cannot deploy `gcp-vertexai` without MLflow #41

Closed fa9r closed 1 year ago

fa9r commented 1 year ago

When deploying the gcp-vertexai recipe with "enable_mlflow": false set in values.tfvars.json, I got the following error:

...

Plan: 34 to add, 0 to change, 0 to destroy.

Changes to Outputs:
...

Error: Invalid index

  on outputs.tf line 28, in output "ingress-controller-host":
  28:   value = data.kubernetes_service.mlflow_tracking[0].status.0.load_balancer.0.ingress.0.ip
    ├────────────────
    │ data.kubernetes_service.mlflow_tracking is empty tuple

The given key does not identify an element in this collection value: the collection has no elements.
WARNING:python_terraform:error: None
Error: Error running recipe gcp-vertexai: None 
wjayesh commented 1 year ago

Thanks for reporting the bug. I have pushed a fix here, #43!