ERROR: (gcloud.beta.functions.deploy) … message=[The caller does not have permission]
I am trying to deploy code from this repo: https://github.com/anishkny/puppeteer-on-cloud-functions in Google Cloud Build. My cloudbuild.yaml file contents are: steps: - name: 'gcr.io/cloud-builders/gcloud' args: ['beta', 'functions', 'deploy', 'screenshot', '--trigger-http', '--runtime', 'nodejs8', '--memory', '1024MB'] I have given the following roles to my Cloud Build Service account (****@cloudbuild.gserviceaccount.com): Cloud Build Service Account Cloud Functions Developer Yet, in my Cloud Build log I see the following error: starting build "1f04522c-fe60-4a25-a4a8-d70e496e2821"