Creating service account through Cloud build app (GITHUB) with Terraform

Hello all, this may not be an Terraform issue.
However, I’m trying to create a cloud composer and cloud function. The error I’m getting is that there is a permission that is invalid that prohibits the creation of service account.
I gave cloud build service account permission create service account and editor. Terraform can not create service account.
{Visualize} Cloudbuild app > connected to Github repo (for pipeline) > google cloud project > cloud build builds the GCP resources from cloudbuild.yml > tf > GCP Cloud
Is there something that I overlooked?

upon further trial and error, I was able to create a custom role and assign them to the cloud build default service account. I had to test which permission were allowed to build through the cloud build service account.