Skip to content

Commit

Permalink
fix: include role path with id as per requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgamache committed Feb 14, 2024
1 parent a3774ca commit 67a42a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/cas-cif/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "google_service_account" "viewer_account" {
resource "google_storage_bucket_iam_member" "viewer" {
for_each = { for v in var.apps : v => v }
bucket = "${var.openshift_namespace}-${each.value}"
role = var.iam_storage_role_template_id
role = "projects/${var.project_id}/roles/${var.iam_storage_role_template_id}"
member = "serviceAccount:${google_service_account.viewer_account[each.key].email}"
depends_on = [google_service_account.viewer_account]
}
Expand Down

0 comments on commit 67a42a8

Please sign in to comment.