I'm trying to deploy Firebase Functions like so:
firebase deploy --only functions
However, I'm getting the following error:
Error: Missing permissions required for functions deploy. You must have permission iam.serviceAccounts.ActAs on service account [email protected]. To address this error, ask a project Owner to assign your account the "Service Account User" role from this URL: https://console.cloud.google.com/iam-admin/iam?xyz
I've already given myself Service Account User permission by going to
Identity -> Service Accounts -> [email protected] -> Permissions -> + Grant Access
I've added my email and service account linked in GOOGLE_APPLICATION_CREDENTIALS
. I'm still getting the same error.
Any ideas?