Skip to content

Commit

Permalink
chore: Add encryption to CICD SNS topic (#512)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Nguyen <thingut@amazon.com>
  • Loading branch information
2 people authored and jn1119 committed Jun 7, 2021
1 parent 091914c commit a65af01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/cicd/cicd-pipeline/config/infra/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a65af01

Please sign in to comment.