Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Aug 27, 2024
1 parent 938d2c3 commit fa4549a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/binaryauth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ resource "google_kms_key_ring" "qa-attestor-keyring" {
prevent_destroy = false
}
}

resource "google_kms_key_ring_iam_member" "key_ring" {
key_ring_id = google_kms_key_ring.qa-attestor-keyring.id
role = "roles/cloudkms.admin"
member = "serviceAccount:terraform@$PROJECT_ID.iam.gserviceaccount.com"
}

# trigger
module "qa-attestor" {
count = var.branch == "dev" ? 1 : 0
Expand Down

0 comments on commit fa4549a

Please sign in to comment.