From 89529d120d2a2375d339dadd81c9389f66fd1e11 Mon Sep 17 00:00:00 2001 From: Malik Draz Date: Mon, 27 Feb 2023 11:00:37 +1100 Subject: [PATCH] added aps:ListRules in prometheus module for addon --- modules/kubernetes-addons/prometheus/data.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/kubernetes-addons/prometheus/data.tf b/modules/kubernetes-addons/prometheus/data.tf index 3bf3342651..9e9a10fb96 100644 --- a/modules/kubernetes-addons/prometheus/data.tf +++ b/modules/kubernetes-addons/prometheus/data.tf @@ -15,6 +15,7 @@ data "aws_iam_policy_document" "ingest" { "aps:GetMetricMetadata", "aps:GetSeries", "aps:RemoteWrite", + "aps:ListRules", ] } } @@ -36,6 +37,7 @@ data "aws_iam_policy_document" "query" { "aps:GetMetricMetadata", "aps:GetSeries", "aps:QueryMetrics", + "aps:ListRules", ] } }