Skip to content

Commit

Permalink
feat: add log_group_name output (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendrucker authored Jul 25, 2023
1 parent 07a9083 commit 7192167
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_lambda_function"></a> [lambda\_function](#output\_lambda\_function) | Observe Lambda function |
| <a name="output_log_group_name"></a> [log\_group\_name](#output\_log\_group\_name) | The name of the CloudWatch log group where logs for the Lambda will be written. |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

## License
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ output "lambda_function" {
description = "Observe Lambda function"
value = aws_lambda_function.this
}

output "log_group_name" {
description = "The name of the CloudWatch log group where logs for the Lambda will be written."
value = aws_cloudwatch_log_group.group.name
}

0 comments on commit 7192167

Please sign in to comment.