Skip to content

Commit 5a08573

Browse files
committed
patch up
1 parent 24460f4 commit 5a08573

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

infrastructure/terraform/modules/eventsub/sns_topic_policy.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ data "aws_iam_policy_document" "sns_topic_policy" {
5757
}
5858

5959
resources = [
60-
aws_sns_topic.main.arn,
60+
aws_sns_topic_event_bus.main.arn,
6161
]
6262
}
6363
}

infrastructure/terraform/modules/eventsub/sns_topic_subscription_firehose.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "aws_sns_topic_subscription" "firehose" {
22
count = var.enable_event_cache ? 1 : 0
33

4-
topic_arn = aws_sns_topic.main.arn
4+
topic_arn = aws_sns_topic_event_bus.main.arn
55
protocol = "firehose"
66
subscription_role_arn = aws_iam_role.sns_role.arn
77
endpoint = aws_kinesis_firehose_delivery_stream.main[0].arn

0 commit comments

Comments
 (0)