How do I deploy a Google Cloud function with Serverless framework if I need to specify a connector see https://cloud.google.com/functions/docs/connecting-vpc
I've tried adding these lines to serverless.yml:
vpc_access_connector:
name: rojects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
Also I tried this:
vpc_connector: rojects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
As a result connector is not added.
To deploy a function I use serverless deploy
command https://serverless.com/framework/docs/providers/google/guide/intro/
rojects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
would never work as a value compared toprojects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
. So is that a typo on the post or a mistake that it's causing the issue. – fbraga