Skip to content

Commit

Permalink
encrypt sns topic
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoun committed Jul 26, 2023
1 parent e1d5cc0 commit 83a781d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions quotas/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
resource "aws_sns_topic" "topic" {
count = var.use_sns ? 1 : 0
name_prefix = "quotas_${terraform.workspace}"
tracing_config = var.trace ? "Active" : "PassThrough"
tags = var.tags
count = var.use_sns ? 1 : 0
name_prefix = "quotas_${terraform.workspace}"
tracing_config = var.trace ? "Active" : "PassThrough"
tags = var.tags
kms_master_key_id = "alias/aws/sns"
}

module "dynamodb" {
Expand Down

0 comments on commit 83a781d

Please sign in to comment.