Skip to content

Commit

Permalink
remove role cloudbuild.connectionViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cit committed Oct 24, 2024
1 parent c2b8ce9 commit ee6523f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion modules/im_cloudbuild_workspace/cb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,5 @@ resource "time_sleep" "iam_propagation" {
google_project_iam_member.cb_logWriter_role,
google_project_iam_member.cb_serviceAccountUser_role,
google_project_iam_member.cb_storage_objects_viewer,
google_project_iam_member.cb_connection_viewer,
]
}
7 changes: 0 additions & 7 deletions modules/im_cloudbuild_workspace/sa.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ resource "google_project_iam_member" "cb_storage_objects_viewer" {
member = "serviceAccount:${local.cloudbuild_sa_email}"
}

resource "google_project_iam_member" "cb_connection_viewer" {
count = local.create_cloudbuild_sa ? 1 : 0
project = var.project_id
role = "roles/cloudbuild.connectionViewer"
member = "serviceAccount:${local.cloudbuild_sa_email}"
}

resource "google_service_account" "im_sa" {
count = local.create_infra_manager_sa ? 1 : 0
project = var.project_id
Expand Down

0 comments on commit ee6523f

Please sign in to comment.