-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Related issues
I could not find any related issues about this topic in the firebase-functions repository.
[REQUIRED] Version info
node:
20.15.0
firebase-functions:
5.0.1
firebase-tools:
13.14.2
firebase-admin:
12.4.0
[REQUIRED] Test case
When configuring Cloud Functions with the Firebase JS SDK, I can specify a VPC connector in HttpsOptions
using vpcConnector
.
However, I cannot find any option for configuring Direct VPC egress (i.e. direct VPC access without a connector).
Example:
export const myFunction = onRequest(
{
vpcConnector: "my-connector-name",
},
(req, res) => {
res.send("hello");
}
);
Above works for VPC connector, but there seems to be no equivalent setting for Direct VPC.
[REQUIRED] Steps to reproduce
- Try to deploy a function with
HttpsOptions
using Direct VPC egress. - Notice there is no documented field for Direct VPC in the SDK.
[REQUIRED] Expected behavior
I would expect there to be an option in HttpsOptions
(or somewhere else in the API) to configure Direct VPC egress, similar to how vpcConnector
can be set.
[REQUIRED] Actual behavior
There is no documented or apparent way to configure Direct VPC via the Firebase JS SDK.
I’m not sure if this is currently unsupported, or if it can be configured through an existing option.
Were you able to successfully deploy your functions?
The issue is only about how to configure Direct VPC.