Hi team, Is there current support or planned suppo...
# ask-community
c
Hi team, Is there current support or planned support for Direct VPC egress for cloud run jobs? Currently in the cloud run v2 worker variables I see vpc_connector_name (https://prefecthq.github.io/prefect-gcp/cloud_run_worker_v2/) but no option to set direct egress. This would be nice in order to not have to manage a VPC connector (https://cloud.google.com/run/docs/configuring/connecting-vpc).
Also on a related note is
vpc_connector_name
on the worker variables the correct way to set the connector for the job? https://prefecthq.github.io/prefect-gcp/cloud_run_worker_v2/
m
you could adjust the existing work pool template and add the direct connection to vpc. The gcp api docs for Cloud Run Jobs V2 can be found here. Follow
vpcAccess
and
GoogleCloudRunV2VpcAccess
c
Thanks @Mat! Ended up just using the vpc connector but will keep that in mind
👍 1