From 0d12fd27f82fad1834e9d8b7375975845b150478 Mon Sep 17 00:00:00 2001 From: Buckingham Date: Fri, 15 Nov 2024 09:48:22 +0000 Subject: [PATCH] Update_151124_2 --- terraform/environments/ppud/sns.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform/environments/ppud/sns.tf b/terraform/environments/ppud/sns.tf index b8074317957..95b3f4c27b3 100644 --- a/terraform/environments/ppud/sns.tf +++ b/terraform/environments/ppud/sns.tf @@ -23,6 +23,14 @@ resource "aws_sns_topic_subscription" "cw_subscription" { # endpoint = aws_secretsmanager_secret_version.support_email_account[0].secret_string } +# SMS topic subscription to be implemented temporarily over the Christmas period +resource "aws_sns_topic_subscription" "cw_sms_subscription" { + count = local.is-production == true ? 1 : 0 + topic_arn = aws_sns_topic.cw_alerts[0].arn + protocol = "sms" + endpoint = "+447903642202" +} + # PreProduction - Cloud Watch resource "aws_sns_topic" "cw_uat_alerts" {