Skip to content

Commit b8be126

Browse files
committed
Make SNS topic FIFO too
1 parent 62edfe0 commit b8be126

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

infrastructure/terraform/modules/eventsub/sns_topic.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
resource "aws_sns_topic" "main" {
2-
name = local.csi
3-
kms_master_key_id = var.kms_key_arn
2+
name = local.csi
3+
kms_master_key_id = var.kms_key_arn
4+
fifo_topic = true
5+
content_based_deduplication = true
46

57
application_failure_feedback_role_arn = var.enable_sns_delivery_logging == true ? aws_iam_role.sns_delivery_logging_role[0].arn : null
68
application_success_feedback_role_arn = var.enable_sns_delivery_logging == true ? aws_iam_role.sns_delivery_logging_role[0].arn : null

0 commit comments

Comments
 (0)