Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: serviceAccountUser assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodmanBen committed Aug 20, 2023
1 parent 479b236 commit dee2721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloud_run_job/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "google_storage_bucket_iam_member" "bucket_1" {
resource "google_service_account_iam_member" "cloud_run_service_sa_user" {
service_account_id = google_service_account.cloud_run_job_service_account.id
role = "roles/iam.serviceAccountUser"
member = "serviceAccount:${google_service_account.cloud_run_job_service_account.email}"
member = "serviceAccount:${var.cloud_run_service_sa_email}"
}

# Create the required environment variables
Expand Down

0 comments on commit dee2721

Please sign in to comment.