I'm trying to use gcloud beta functions deploy
from CI using a service account, but get an error:
(gcloud.beta.functions.deploy) ResponseError: status=[403], code=[Forbidden], message=[The caller does not have permission]
I can't find any roles in the IAM web console that look appropriate. Which one do I use?
To deploy function user should have role roles/cloudfunctions.developer
I found this by changing role in UI. I couldn't find any official google documentation. This role is also mentioned in this article https://medium.com/google-cloud/triggering-cloud-functions-deployments-97691f9b5416