Skip to content

Commit

Permalink
fix: Stackdriver SA regex (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 authored Jul 16, 2024
1 parent c314cfd commit aa9dfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/service_accounts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resource "google_service_account_iam_member" "workload_binding" {
### service account for stackdriver
resource "google_service_account" "stackdriver" {
count = var.enable_stackdriver == true ? 1 : 0
account_id = substr("stackdriver-${random_id.main.dec}", 0, 30)
account_id = substr("${random_id.main.dec}-stackdriver", 0, 30)
display_name = "Service Account For Workload Identity"
}

Expand Down

0 comments on commit aa9dfc5

Please sign in to comment.