Skip to content

Commit 81f0759

Browse files
committed
CCM-11352: add flag to toggle raw message delivery for sns subs
1 parent 30d068d commit 81f0759

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

infrastructure/modules/eventpub/sns_topic_subscription_firehose.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ resource "aws_sns_topic_subscription" "firehose" {
55
protocol = "firehose"
66
subscription_role_arn = aws_iam_role.sns_role.arn
77
endpoint = aws_kinesis_firehose_delivery_stream.main[0].arn
8+
raw_message_delivery = var.raw_message_delivery
89
}

infrastructure/modules/eventpub/variables.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ variable "enable_sns_delivery_logging" {
7373
default = false
7474
}
7575

76-
77-
7876
variable "sns_success_logging_sample_percent" {
7977
type = number
8078
description = "Enable SNS Delivery Successful Sample Percentage"
@@ -114,3 +112,9 @@ variable "iam_permissions_boundary_arn" {
114112
description = "The ARN of the permissions boundary to use for the IAM role"
115113
default = null
116114
}
115+
116+
variable "firehose_raw_message_delivery" {
117+
type = bool
118+
description = "Enables raw message delivery on firehose subscription"
119+
default = false
120+
}

0 commit comments

Comments
 (0)