Skip to content

Commit 292d456

Browse files
committed
fixes
1 parent 210ca88 commit 292d456

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

infrastructure/terraform/components/api/sns_topic_subscription_supplier_events_forwarder_lambda.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ resource "aws_lambda_event_source_mapping" "supplier_events_forwarder" {
99
event_source_arn = module.supplier_events_queue.sqs_queue_arn
1010
function_name = module.supplier_events_forwarder_lambda.function_arn
1111
batch_size = 10
12-
maximum_batching_window_in_seconds = 1
1312
scaling_config { maximum_concurrency = 10 }
1413

1514
depends_on = [

infrastructure/terraform/modules/eventsub/sns_topic_subscription_firehose.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,3 @@ resource "aws_sns_topic_subscription" "sns_topic_event_bus_firehose" {
77
endpoint = aws_kinesis_firehose_delivery_stream.main[0].arn
88
raw_message_delivery = var.enable_firehose_raw_message_delivery
99
}
10-
11-
resource "aws_sns_topic_subscription" "sns_topic_supplier_firehose" {
12-
count = var.enable_event_cache ? 1 : 0
13-
14-
topic_arn = aws_sns_topic.sns_topic_supplier.arn
15-
protocol = "firehose"
16-
subscription_role_arn = aws_iam_role.sns_role.arn
17-
endpoint = aws_kinesis_firehose_delivery_stream.main[0].arn
18-
raw_message_delivery = var.enable_firehose_raw_message_delivery
19-
}

0 commit comments

Comments
 (0)