diff --git a/README.md b/README.md index 53453fa..3b137d7 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ No modules. | Name | Description | |------|-------------| | [lambda\_function](#output\_lambda\_function) | Observe Lambda function | +| [log\_group\_name](#output\_log\_group\_name) | The name of the CloudWatch log group where logs for the Lambda will be written. | ## License diff --git a/outputs.tf b/outputs.tf index 42f56cf..91437ed 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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 +}