Skip to content

Commit

Permalink
Grant SREs _Container Analysis Occurrences Viewer_ role
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Jan 19, 2024
1 parent aa25bf8 commit b97edcf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions environments/_modules/gateway/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ resource "google_project_iam_binding" "dashboard_viewer_sre" {
members = [var.sre_iam_uri]
}

resource "google_project_iam_binding" "container_analysis_occurrences_sre" {
project = var.gcp_project_id
role = "roles/containeranalysis.occurrences.viewer"
members = [var.sre_iam_uri]
}

resource "google_monitoring_group" "main" {
display_name = "gateway"

Expand Down

0 comments on commit b97edcf

Please sign in to comment.