Closed
Description
Move from serverless/serverless#7028
Description
We would like to allow GCP cloud function to connect to a service in a VPC network, the native cloud beta functions deploy command to support this feature via adding --vpc-connector
argument.
but unfortunately can not figure out how to use the serverless framework to deploy the cloud function as vpc connection supported.
We need to add below argument for GCP CF as
vpc
pass the name of the vpc connection, the format will be projects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
Reference Link:
https://cloud.google.com/functions/docs/connecting-vpc
Metadata
Metadata
Assignees
Labels
No labels