Skip to content

Commit

Permalink
fix: terraform dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
uche-madu committed Nov 8, 2023
1 parent 1739ade commit d6c899c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/gke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module "airflow_worker_workload_identity" {
namespace = var.airflow_namespace
project_id = var.project_id
roles = ["roles/storage.admin", "roles/compute.admin", "roles/dataproc.editor", "roles/bigquery.admin", "roles/cloudsql.admin", "roles/iam.serviceAccountUser"]
module_depends_on = [helm_release.argocd, google_service_account.airflow_worker_workload_identity_sa]
depends_on = [helm_release.argocd, google_service_account.airflow_worker_workload_identity_sa]
}

module "airflow_scheduler_workload_identity" {
Expand All @@ -99,7 +99,7 @@ module "airflow_scheduler_workload_identity" {
namespace = var.airflow_namespace
project_id = var.project_id
roles = ["roles/storage.admin", "roles/compute.admin", "roles/dataproc.editor", "roles/bigquery.admin", "roles/cloudsql.admin", "roles/iam.serviceAccountUser"]
module_depends_on = [helm_release.argocd, google_service_account.airflow_scheduler_workload_identity_sa]
depends_on = [helm_release.argocd, google_service_account.airflow_scheduler_workload_identity_sa]
}

# Create NFS Storage
Expand Down

0 comments on commit d6c899c

Please sign in to comment.