Skip to content

Instantly share code, notes, and snippets.

@mwiewior
Created May 18, 2023 15:45
Show Gist options
  • Save mwiewior/065f50acfdceb5549760d57f4f7c9259 to your computer and use it in GitHub Desktop.
Save mwiewior/065f50acfdceb5549760d57f4f7c9259 to your computer and use it in GitHub Desktop.
resource "google_project_iam_member" "tbd-editor-member" {
#checkov:skip=CKV_GCP_49: "Ensure no roles that enable to impersonate and manage all service accounts are used at a project level"
#checkov:skip=CKV_GCP_117: "Ensure basic roles are not used at project level."
# This is only used for workshops!!!
project = google_project.tbd_project.project_id
role = "roles/owner"
member = "serviceAccount:${google_service_account.tbd-terraform.email}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment