diff --git a/main/cicd/cicd-pipeline/config/infra/cloudformation.yml b/main/cicd/cicd-pipeline/config/infra/cloudformation.yml index cbc426710a..d6ab774dfb 100644 --- a/main/cicd/cicd-pipeline/config/infra/cloudformation.yml +++ b/main/cicd/cicd-pipeline/config/infra/cloudformation.yml @@ -20,10 +20,12 @@ Resources: Type: AWS::SNS::Topic Properties: !If - SubscribeNotificationEmail - - Subscription: + - + Subscription: - Endpoint: ${self:custom.settings.emailForNotifications} Protocol: email - - !Ref AWS::NoValue + KmsMasterKeyId: alias/aws/sns + - KmsMasterKeyId: alias/aws/sns # SNS Topic Policy to allow CloudWatch Event Service to send notifications to the topic PipelineNotificationsTopicPolicy: