From c810ed585757a3d8839424c4b88551263099b189 Mon Sep 17 00:00:00 2001 From: Federico Barcelona Date: Mon, 26 Jul 2021 20:43:51 +0200 Subject: [PATCH] fix: Solve error impersonating itself --- modules/cloud-scanning/main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/cloud-scanning/main.tf b/modules/cloud-scanning/main.tf index fa7f34e..efc4e25 100644 --- a/modules/cloud-scanning/main.tf +++ b/modules/cloud-scanning/main.tf @@ -89,10 +89,6 @@ resource "google_project_iam_member" "event_receiver" { resource "google_project_iam_member" "service_account_user_itself" { role = "roles/iam.serviceAccountUser" member = "serviceAccount:${google_service_account.sa.email}" - condition { - expression = "resource.name == \"${google_service_account.sa.email}\"" - title = "Impersonate only as itself" - } } resource "google_project_iam_member" "builder" {