From 4ac220596b219470133533dc68317bb6b465bdee Mon Sep 17 00:00:00 2001 From: Xavier Basty Date: Thu, 14 Sep 2023 15:31:20 +0200 Subject: [PATCH] fix: ignore topic encryption warning --- terraform/cloudwatch/main.tf | 1 + terraform/res_prometheus.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/terraform/cloudwatch/main.tf b/terraform/cloudwatch/main.tf index d814ae1..7722495 100644 --- a/terraform/cloudwatch/main.tf +++ b/terraform/cloudwatch/main.tf @@ -9,6 +9,7 @@ locals { period = 60 * 5 } +#tfsec:ignore:aws-sns-enable-topic-encryption resource "aws_sns_topic" "webhook" { name = "cloudwatch-webhook" display_name = "CloudWatch Webhook forwarding to BetterUptime" diff --git a/terraform/res_prometheus.tf b/terraform/res_prometheus.tf index a33eea8..f0449a1 100644 --- a/terraform/res_prometheus.tf +++ b/terraform/res_prometheus.tf @@ -15,6 +15,7 @@ resource "aws_prometheus_alert_manager_definition" "prometheus_alerts" { EOF } +#tfsec:ignore:aws-sns-enable-topic-encryption resource "aws_sns_topic" "prometheus_webhook" { name = "prometheus-webhook" display_name = "Prometheus Webhook forwarding to BetterUptime"