Skip to content

Commit

Permalink
fix- output of lambda-function-name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasarpooja committed Nov 21, 2023
1 parent 8a63d7f commit 7e8714b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions _example/complete-function/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# output "name" {
# value = aws_lambda_function.default.function_name
# description = "The name can identifying your Lambda Function."
# }
output "lambda_function_name" {
description = "The name of the Lambda Function"
value = module.lambda.name
}

output "arn" {
value = module.lambda[*].arn
description = "The ID of the Hostzone."
Expand Down
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Module : Lambda
# Description : Terraform Lambda function module outputs.
output "name" {
value = module.labels.name
description = "The name can identifying your Lambda Function."
description = "The name of the Lambda Function"
value = join("", aws_lambda_function.default[*].function_name)
}

output "arn" {
Expand Down

0 comments on commit 7e8714b

Please sign in to comment.