diff --git a/environments/_modules/gateway/monitoring.tf b/environments/_modules/gateway/monitoring.tf index 79388af..1be563f 100644 --- a/environments/_modules/gateway/monitoring.tf +++ b/environments/_modules/gateway/monitoring.tf @@ -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"