Skip to content

Commit

Permalink
add cloudProfiler role to rekor-sa (#779)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway authored Oct 10, 2023
1 parent c004f08 commit 3d39042
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/gcp/modules/rekor/service_accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ resource "google_project_iam_member" "rekor_kms_member" {
member = "serviceAccount:${google_service_account.rekor-sa.email}"
depends_on = [google_service_account.rekor-sa]
}

resource "google_project_iam_member" "rekor_profiler_agent" {
project = var.project_id
role = "roles/cloudprofiler.agent"
member = "serviceAccount:${google_service_account.rekor-sa.email}"
depends_on = [google_service_account.rekor-sa]
}

0 comments on commit 3d39042

Please sign in to comment.