hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.33k stars 1.74k forks source link

Add vertex model deployment resource #15303

Open alwhelan22 opened 1 year ago

alwhelan22 commented 1 year ago

Community Note

Description

I'd like to be able to deploy a vertex ai model from model registry (not a GCP bucket) to a designated/existing endpoint.

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_ml_engine_model" "default" {
  name        = "default"
  description = "My model"
  regions     = ["us-central1"]
  endpoint = google_vertex_ai_endpoint.endpoint.id
  labels = {
    my_model = "foo"
  }
  online_prediction_logging         = true
  online_prediction_console_logging = true
}

resource "google_vertex_ai_endpoint" "endpoint" {
  name         = "endpoint-name"
  display_name = "sample-endpoint"
  description  = "A sample vertex endpoint"
  location     = "us-central1"
}

References

b/305278281

EduardJoy commented 11 months ago

Greetings, any update on this issue particularly?

ghirardinicola commented 2 months ago

Is this still not possible?