-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add new resources for Vertex AI Vector Search (formally known as, Vertex AI Matching Engine) #12818
Add new resources for Vertex AI Vector Search (formally known as, Vertex AI Matching Engine) #12818
Comments
Hey, |
I'm afraid I don't have any ongoing PR right now. I've been using the following gcloud commands for the deploy and undeploy operations. |
Is it possible to add support for the Private service connect options, as documented https://cloud.google.com/vertex-ai/docs/matching-engine/match-eng-setup/private-service-connect Understand its still in pre-GA. Thanks! |
Thanks for letting me know about the new feature. It looks like both v1 and v1beta1 support |
Thank you! Yes that's what we're using at the moment. The feature isn't supported in the python client library - at either creation or query time. It looks like privateServiceConnect is deprecated on model Endpoints - is that likely to happen to index endpoints as well? |
It looks like |
Need definitely the capability to deploy an index on an endpoint with terraform. |
any updates for this? |
@mikeedjones The PR to support PSC was merged yesterday. The PSC will be available after a new version is released! |
Great, then the only issue that remains is the google_vertex_ai_index_endpoint_deployed_index resource |
Are there any updates on when the |
In the meantime, here's a workaround using resource "google_vertex_ai_index" "my_index" {
...
}
resource "google_vertex_ai_index_endpoint" "my_endpoint" {
...
}
module "gcloud_ai_index_endpoints_deploy_index" {
source = "terraform-google-modules/gcloud/google"
version = "~> 3.0"
create_cmd_body = "ai index-endpoints deploy-index ${google_vertex_ai_index_endpoint.my_endpoint.id} --deployed-index-id=deployed_index --display-name=deployed_index --index=${google_vertex_ai_index.my_index.id} --project=${module.project_services.project_id} --region=${var.region}"
destroy_cmd_body = "ai index-endpoints undeploy-index ${google_vertex_ai_index_endpoint.my_endpoint.id} --deployed-index-id=deployed_index --project=${module.project_services.project_id} --region=${var.region}"
} |
Any luck that someone might pick this up? |
Thanks @davidcavazos |
Is there any update? |
Any update on this? |
Hey folks, this ticket has been forwarded to engineering for resolution. Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue. |
Thank you, I hope the resource will be supported soon on the terraform provider so it will go smooth in terms of integrations |
Would also be interested in |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Add new resources for Vertex AI Matching Engine. The
index
andindexEndpoint
API endpoints havecreate
,patch
,get
, anddelete
methods. Therefore, they would be straightforward to implement.On the other hand, the following API endpoints correspond to CRUD operations to deploy an index to an endpoint. Therefore, I put another new resource as an implementation idea in "New or Affected Resource(s)".
IndexEndpoint
has a list ofDeployedIndex
asdeployedIndexes
As a side note, Vertex AI Endpoints (projects.locations.endpoints) has similar methods:
deployModel
,undeployModel
. That'd be great if both Matching Engine and Endpoint resources could have similar resources to deploy index or model to an endpoint.New or Affected Resource(s)
google_vertex_ai_index
google_vertex_ai_index_endpoint
google_vertex_ai_index_endpoint_deployed_index
orgoogle_vertex_ai_deployed_index
Potential Terraform Configuration
References
b/309602461
The text was updated successfully, but these errors were encountered: