I am using one dedicated cloud run job to fetch VM information of all the projects in GCP organization.
I am trying to use default service account attached with Cloud run job. but this service account is not able to access other projects .
what permissions should i give to this Service account(cloud run) , so that my cloud run job can access other projects and fetch vm details of all the projects.
i even tried to add this Service account in IAM of other projects but it's giving access issue
Hi @gcloudLearning!
Look into Multi-Project (Account) Service Account in GCP. You already have a service account but you can also check from the guide if you might have missed a step.
After creating a service account, grant access to other projects:
You can also get in touch with Google Cloud Support if the above option doesn't work. Let me know if it helped, thanks!