Skip to content

Commit

Permalink
adding function name to output
Browse files Browse the repository at this point in the history
  • Loading branch information
tomarv2 committed Oct 6, 2021
1 parent ea2b63a commit 81205e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ output "lambda_arn" {
value = join("", aws_lambda_function.lambda.*.arn)
}

output "lambda_function_name" {
description = "Name of the Lambda function"
value = join("", aws_lambda_function.lambda.*.function_name)
}

output "lambda_iam_role_arn" {
description = "ARN of IAM role used by Lambda function"
value = module.iam_role.iam_role_arn
Expand Down

0 comments on commit 81205e6

Please sign in to comment.