We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c0313 commit 79a3ebeCopy full SHA for 79a3ebe
1 file changed
infrastructure/terraform/components/api/sns_topic_subscription_allocation_lambda.tf
@@ -1,5 +1,5 @@
1
resource "aws_sns_topic_subscription" "allocation_lambda" {
2
- topic_arn = module.eventsub.sns_topic_event_bus.arn
+ topic_arn = module.eventsub.aws_sns_topic.sns_topic_event_bus.arn
3
protocol = "lambda"
4
endpoint = module.allocation_lambda.function_arn
5
}
@@ -9,5 +9,5 @@ resource "aws_lambda_permission" "allocation_lambda_sns" {
9
action = "lambda:InvokeFunction"
10
function_name = module.allocation_lambda.function_name
11
principal = "sns.amazonaws.com"
12
- source_arn = module.eventsub.sns_topic_event_bus.arn
+ source_arn = module.eventsub.aws_sns_topic.sns_topic_event_bus.arn
13
0 commit comments