Skip to content

Commit

Permalink
Merge pull request #118 from uche-madu/develop
Browse files Browse the repository at this point in the history
add roles to service accounts
  • Loading branch information
uche-madu committed Oct 23, 2023
2 parents 210c2af + 9c2a05f commit 8aebb5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/gke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ module "airflow_worker_workload_identity" {
namespace = var.airflow_namespace
project_id = var.project_id
impersonate_service_account = data.google_service_account.deb-sa.email
roles = ["roles/storage.admin", "roles/compute.admin", "roles/dataproc.editor", "roles/bigquery.jobUser", "roles/cloudsql.admin"]
module_depends_on = [helm_release.argocd]
}

Expand All @@ -99,6 +100,7 @@ module "airflow_scheduler_workload_identity" {
namespace = var.airflow_namespace
project_id = var.project_id
impersonate_service_account = data.google_service_account.deb-sa.email
roles = ["roles/storage.admin", "roles/compute.admin", "roles/dataproc.editor", "roles/bigquery.jobUser", "roles/cloudsql.admin"]
module_depends_on = [helm_release.argocd]
}

Expand Down

0 comments on commit 8aebb5f

Please sign in to comment.