We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17e44f8 commit e90520aCopy full SHA for e90520a
2 files changed
infrastructure/terraform/modules/eventsub/sns_topic_policy.tf
@@ -1,5 +1,5 @@
1
resource "aws_sns_topic_policy" "main" {
2
- arn = aws_sns_topic.main.arn
+ arn = aws_sns_topic.sns_topic_event_bus.arn
3
4
policy = data.aws_iam_policy_document.sns_topic_policy.json
5
}
infrastructure/terraform/modules/eventsub/sns_topic_subscription_firehose.tf
@@ -1,7 +1,7 @@
resource "aws_sns_topic_subscription" "firehose" {
count = var.enable_event_cache ? 1 : 0
- topic_arn = sns_topic_event_bus.arn
+ topic_arn = aws_sns_topic.sns_topic_event_bus.arn
protocol = "firehose"
6
subscription_role_arn = aws_iam_role.sns_role.arn
7
endpoint = aws_kinesis_firehose_delivery_stream.main[0].arn
0 commit comments