gfilicetti / gke-github-deployment

This repository is a full example of a full CI/CD pipeline using Github actions, terraform and other tech.
Apache License 2.0
3 stars 2 forks source link

Service account service-87836978064@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com does not exist #88

Closed alanpoole closed 2 months ago

alanpoole commented 2 months ago
│ Error: Request `Create IAM Members roles/iam.serviceAccountShortTermTokenMinter serviceAccount:service-87836978064@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com for project "lofty-digit-433719-q7"` returned error: Batch request and retried single request "Create IAM Members roles/iam.serviceAccountShortTermTokenMinter serviceAccount:service-87836978064@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com for project \"lofty-digit-433719-q7\"" both failed. Final error: Error applying IAM policy for project "lofty-digit-433719-q7": Error setting IAM policy for project "lofty-digit-433719-q7": googleapi: Error 400: Service account service-87836978064@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com does not exist., badRequest
│ 
│   with google_project_iam_member.bq-scheduled-query-sa-permission,
│   on iam.tf line 229, in resource "google_project_iam_member" "bq-scheduled-query-sa-permission":
│  229: resource "google_project_iam_member" "bq-scheduled-query-sa-permission" {
alanpoole commented 2 months ago

These need to be enabled

# Cont'd, enable APIs for BigQuery services
gcloud services enable --project $PROJECT_ID \
  bigquery.googleapis.com \
  bigquerydatatransfer.googleapis.com