Skip to content

Commit

Permalink
Merge pull request #82 from ministryofjustice/add-invoke-arn-output
Browse files Browse the repository at this point in the history
add invoke_arn lambda function output
  • Loading branch information
bogdan-mania-moj authored Jul 19, 2023
2 parents 6cc5e54 + f978de9 commit c7fa811
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,6 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_lambda_function_arn"></a> [lambda\_function\_arn](#output\_lambda\_function\_arn) | The ARN of the Lambda Function |
| <a name="output_lambda_function_invoke_arn"></a> [lambda\_function\_invoke\_arn](#output\_lambda\_function\_invoke\_arn) | The invoke ARN of the Lambda Function |
| <a name="output_lambda_function_name"></a> [lambda\_function\_name](#output\_lambda\_function\_name) | The Name of the Lambda Function |
<!-- END_TF_DOCS -->
7 changes: 6 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ output "lambda_function_arn" {
value = try(aws_lambda_function.this.arn, "")
}

output "lambda_function_invoke_arn" {
description = "The invoke ARN of the Lambda Function"
value = try(aws_lambda_function.this.invoke_arn, "")
}

output "lambda_function_name" {
description = "The Name of the Lambda Function"
value = try(aws_lambda_function.this.function_name, "")
}
}

0 comments on commit c7fa811

Please sign in to comment.