Skip to content

Commit e90520a

Browse files
committed
Fix again
1 parent 17e44f8 commit e90520a

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
@@ -1,5 +1,5 @@
11
resource "aws_sns_topic_policy" "main" {
2-
arn = aws_sns_topic.main.arn
2+
arn = aws_sns_topic.sns_topic_event_bus.arn
33

44
policy = data.aws_iam_policy_document.sns_topic_policy.json
55
}

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 = sns_topic_event_bus.arn
4+
topic_arn = aws_sns_topic.sns_topic_event_bus.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)