-
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
vertex_ai
: add support for private_service_connect_config
in google_vertex_ai_endpoint
#19413
Comments
Hi @axtma! Please share your terraform code to replicate this issue. In terraform registry I see this argument relate to the |
The terraform resource documentation needs an update and remove the statement of "Only one of the fields, network or enable_private_service_connect, can be set." as its misleading, since there isn't another argument reference named enable_private_service_connect in the resource specification. I believe that is primarily due to the fact that as per the Vertex AI Endpoint API documentation the enablePrivateServiceConnect field is classed as deprecated. To support Private Service Connect for Vertex AI endpoints field privateServiceConnectConfig needs to be set - this most likely requires a feature enhancement for the Vertex AI Endpoint resource to support a new argument
|
Yes, that's exactly what I was trying to point out. TF code could be something like :
While the error was that enable_private_service_connect field isn't expected here likely because it isn't supported by the resource as of now but somehow is present in the documentation. |
Confirmed documentation issue! In terraform registry is mentioned the
|
vertex_ai
: add support for private_service_connect_config
in google_vertex_ai_endpoint
Community Note
I am trying to use the resource for Vertex AI endpoint which says
Only one of the fields, network or enable_private_service_connect, can be set.
. However, when I set enable_private_service_connect as true in my Terraform config, I get an error asAn argument named "enable_private_service_connect" is not expected here.
Terraform Version & Provider Version(s)
Terraform vX.X.X
on
Terraform v1.7.4
on darwin_arm64
Your version of Terraform is out of date! The latest version
is 1.9.5. You can update by downloading from https://www.terraform.io/downloads.html
Affected Resource(s)
google_vertex_ai_endpoint
Terraform Configuration
Debug Output
No response
Expected Behavior
No response
Actual Behavior
No response
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/368589149
The text was updated successfully, but these errors were encountered: