-
Notifications
You must be signed in to change notification settings - Fork 210
v5.1.0 requires firebaseextensions.googleapis.com when Extensions are unused in a project #1596
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
Comments
When I'm deploying locally, I see that issue above. When I deploy via GH Action, I actually get a different API that isn't enabled (I assume because it's deploying with a workload identity instead):
|
Thanks for the fix! |
You're welcome :) |
Updating firebase-tools to the latest version worked for me |
I'm getting the firebaseextensions.googleapis.com and cloudbilling.googleapis.com errors in my ci with the following dependencies. From some other issues it sounds like this is normal and expected now? ├── [email protected] |
This looks to have been re-introduced, currently getting the error for |
Worked for me with [email protected] and [email protected] |
Can confirm the issue was re-introduced on my end as well. [email protected] [email protected] Reverted [email protected], and deployment worked fine again |
The firebaseextensions.instance.list permission is now required for any firebase deploy that includes functions. This is expected. It is because we have launched new features that allow you to define extension instances in your functions codebase and deploy them that way. See https://firebase.google.com/docs/extensions/install-extensions?interface=sdk) for details. This means that when we deploy functions we will always be checking if you have extension instances in your project that were defined using an autogenerated SDK in a deploying codebase. So we need to list the current extension instances in your project to determine if there is anything to potentially delete or configure or update. Consider enabling the Firebase Extensions Viewer permission which includes the ability to list extension instances. |
@ifielker Thanks for the quick response. This was helpful context -- I initially understood the function deployment failures as a regression in the Couldn't we mitigate these errors in projects where the Extensions api is not explicitly enabled? (e.g. in such projects, the extension api not being enabled can signal that there's no need for the features checking against existing extensions, or installing extension instances defined in the codebase) Otherwise a more detailed error message during deployment explaining the above could help out. Docs don't seem to be up to date in this regard |
Related issues
[REQUIRED] Version info
node:
v20.16.0
firebase-functions:
v5.1.0
firebase-tools:
v13.15.2
firebase-admin:
v12.1.1
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
After updating
firebase-functions
from 5.0.1 to 5.1.0, deploying no longer works.[REQUIRED] Expected behavior
Successful deploy.
[REQUIRED] Actual behavior
I now get an error that the Extensions API isn't enabled, even though it's unused by the project.
Were you able to successfully deploy your functions?
No.
The text was updated successfully, but these errors were encountered: