Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Expose Lambda names and SNS topics (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneeth-n committed Dec 3, 2020
1 parent 5f8d9dd commit 6a69790
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ MIT Licensed. See LICENSE for full details.
|------|-------------|
| arn | AWS lambda arn |
| dlq | AWS lambda Dead Letter Queue details |
| function_name | AWS lambda function name |
| invoke_arn | AWS lambda invoke_arn |
| qualified_arn | AWS lambda qualified_arn |
| queue | AWS lambda SQS details |
| sns_topics | AWS lambda SNS topics if any |
| version | AWS lambda version |

9 changes: 9 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ output "queue" {
value = module.triggered-by-sqs.queue
}

output "function_name" {
description = "AWS lambda function name"
value = aws_lambda_function.lambda.function_name
}

output "sns_topics" {
description = "AWS lambda SNS topics if any"
value = try(var.trigger.sns_topics, [])
}

0 comments on commit 6a69790

Please sign in to comment.