does anyone know how do i give permission from my project in GCP to a function created and deployed in firebase? Because what i'm doing is the following:
- From a site (deployed also in firebase) y call to the backend (Firebase Function)
- The function itself, tries to get resources from my GCP project (in specific what instances are currently running)
- Then, i receive them and show on the front.
The step 2 is causing my problems, currently when i'm trying to run it, it gives me the error:
Error: could not handle the request and in the log from firebase function i got: GaxiosError: Required 'compute.instances.list' permission for 'projects/projectID' so i know for sure that's a problem of authorization.
All this project worked just well 2 months ago, but my free trial expired and we tried to move to another GCP account and try to finish this project (With this i know the code works just right, the problem is for sure GCP because also, when i use others API ENDPOINTS not related to GCP resources, they work just well).
Any recomendation would be amazing, and if i didn't gave enough info just tell me. Thanks u for your time
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…