Skip to content

Commit

Permalink
add encryption to sns
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 26, 2021
1 parent f84ddb6 commit d98ef79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cloudtrail/sns.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
resource "aws_sns_topic" "cloudtrail" {
count = var.enable_sns ? 1 : 0
name = local.name
count = var.enable_sns ? 1 : 0
name = local.name
kms_master_key_id = data.aws_kms_key.incoming_key.id

tags = merge(
local.base_tags,
Expand Down

0 comments on commit d98ef79

Please sign in to comment.