Skip to content

Commit 3d1b068

Browse files
fix: Create sa and add gcp annotation
1 parent fbcc7e9 commit 3d1b068

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

modules/helm_release/main.tf

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,18 @@ locals {
7474
}
7575

7676
service_account_annotations = {
77-
"webservice.serviceAccount.create" = true,
78-
"webservice.serviceAcount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
79-
"jobs.serviceAccount.create" = true,
80-
"jobs.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
81-
"migrations.serviceAccount.create" = true,
82-
"migrations.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
83-
"event-worker.serviceAccount.create" = true,
84-
"event-worker.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
85-
"event-queue.serviceAccount.create" = true,
86-
"event-queue.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
77+
"webservice.serviceAccount.create" = true,
78+
"webservice.serviceAcount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
79+
"jobs.serviceAccount.create" = true,
80+
"jobs.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
81+
"migrations.serviceAccount.create" = true,
82+
"migrations.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
83+
"event-worker.serviceAccount.create" = true,
84+
"event-worker.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
85+
"event-queue.serviceAccount.create" = true,
86+
"event-queue.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
87+
"workspace-engine.serviceAccount.create" = true,
88+
"workspace-engine.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
8789
}
8890
}
8991

0 commit comments

Comments
 (0)