gcb/ERR/2022_001

Cloud Build service account has the cloudbuild.builds.editor role.

Product: Cloud Build
Rule class: ERR - Something that is very likely to be wrong

Description

The Cloud Build service account is missing the cloudbuild.builds.create IAM permission, which is required for the service account to run a build trigger. You can resolve this error by granting the Cloud Build Service Account IAM role to [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com.

Remediation

Further information

Default permissions of Cloud Build service account