Open imrannayer opened 5 months ago
Note prior to the triage later today: the enablePrivateServiceConnect field appears to be deprecated in the API.
I am not sure why it is shown deprecated when this is a prefered way of exposing endpoint.
Note from triage: Adding support for deprecated fields isn't usually a blocker for adding provider support, so we're forwarding to the relevant service team. If there's a recommended alternative they'll know
Has there been any progress on this?
I notice that while enablePrivateServiceConnect
is deprecated in the API, privateServiceConnectConfig
is present and appears to be the canonical way to create a PSC endpoint. For example, in Python we can do:
psc_endpoint = aiplatform.PrivateEndpoint.create(
display_name=VERTEX_AI_ENDPOINT_NAME,
project=PROJECT_ID,
location=REGION,
private_service_connect_config=aiplatform.PrivateEndpoint.PrivateServiceConnectConfig(
project_allowlist=["ALLOWED_PROJECTS"],
),
)
I also notice this has been implemented for google_vertex_ai_index_endpoint
several months ago - I would be super grateful if this could be prioritised!
Community Note
Description
add enablePrivateServiceConnect to google_vertex_ai_endpoint
New or Affected Resource(s)
Potential Terraform Configuration
References
https://cloud.google.com/vertex-ai/docs/general/psc-endpoints
b/334930807