We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b74cc2d + b838a83 commit a613a81Copy full SHA for a613a81
autotagging.tf
@@ -54,7 +54,7 @@ resource "aws_sns_topic_subscription" "auto_tagging" {
54
55
topic_arn = var.sns_topic_arn
56
protocol = "sqs"
57
- endpoint = aws_sqs_queue.auto_tagging.arn
+ endpoint = aws_sqs_queue.auto_tagging[0].arn
58
}
59
60
resource "aws_lambda_event_source_mapping" "auto_tagging" {
main.tf
@@ -192,7 +192,7 @@ resource "aws_sns_topic_subscription" "this_sns_sub" {
192
193
194
195
- endpoint = aws_sqs_queue.this_sqs.arn
+ endpoint = aws_sqs_queue.this_sqs[0].arn
196
197
198
resource "aws_lambda_permission" "this_lambda_allow_bucket_permissions" {
0 commit comments