Skip to content

Commit 79a3ebe

Browse files
committed
Terraform fix
1 parent 85c0313 commit 79a3ebe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_sns_topic_subscription" "allocation_lambda" {
2-
topic_arn = module.eventsub.sns_topic_event_bus.arn
2+
topic_arn = module.eventsub.aws_sns_topic.sns_topic_event_bus.arn
33
protocol = "lambda"
44
endpoint = module.allocation_lambda.function_arn
55
}
@@ -9,5 +9,5 @@ resource "aws_lambda_permission" "allocation_lambda_sns" {
99
action = "lambda:InvokeFunction"
1010
function_name = module.allocation_lambda.function_name
1111
principal = "sns.amazonaws.com"
12-
source_arn = module.eventsub.sns_topic_event_bus.arn
12+
source_arn = module.eventsub.aws_sns_topic.sns_topic_event_bus.arn
1313
}

0 commit comments

Comments
 (0)