-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase environment variable deployment error #6835
Comments
Hey @Neofield-Dylan, thanks for sharing code snippets and the logs you encountered. I’m trying to reproduce this locally, but I can’t seem to get the correct setup. A couple of TypeScript errors are being raised after copying the provided code. Also, looking through the logs, it seems like you’re using a couple of other parameterized configurations. By any chance, could you please provide an MCVE where the issue is reproducible, or additional steps on how you set up your project so that we can replicate the issue on our end? Also, it looks like you're using an older version of |
Hi, aalej! The first problem is The second problem is even if I use some typescript trick to workaround like putting I can work in a MCVE, but it may take some time to do so, because I have other things to do. I think you does not need to worry with the others parameterized configuration that I used (which you mentioned you saw on the logs), because after I set the vpcConnectorEgressSettings with a hardcoded string like |
It looks like there are two kinds of errors you're encountering:
|
firebase/firebase-functions#1531 for the init function, which should be released soon |
Download the latest version of the Firebase tools with
|
@inlined I've been trying to use the
Usage example for aws s3:
Usage example for sentry:
Dependencies: node: 18.16.1
|
[REQUIRED] Environment info
firebase-tools: 12.2.1
Platform: Ubuntu 20.04.6 LTS
Node: 20.11.1
firebase-admin: ^12.0.0
firebase-functions: ^4.7.0
typescript: ^5.3.3
cloud functions 2nd gen
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
configure vpc connector with Parameterized configuration to set environment variable to set vpc connector egress settings.
And try to deploy.
[REQUIRED] Expected behavior
.env.projectId
[REQUIRED] Actual behavior
Error with several warning.
The text was updated successfully, but these errors were encountered: