Skip to content

Commit d224b7f

Browse files
committed
Updated README.md, added log group to outputs.tf
1 parent 1714346 commit d224b7f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "eventbridge_debug_logger" {
2525
}
2626
```
2727

28-
The above example module invocation will track all ec2 events. Using a tool like (saw)[https://github.com/TylerBrock/saw] to tail cloudwatch logs, the following log events will be written by launching and terminating an EC2 instance.
28+
The above example module invocation will track all ec2 events. Using a tool like [saw](https://github.com/TylerBrock/saw) to tail cloudwatch logs, the following log events will be written by launching and terminating an EC2 instance.
2929

3030
```
3131
$ saw watch /aws/lambda/events_debug_logger_ec2 --expand
@@ -102,6 +102,8 @@ $ saw watch /aws/lambda/events_debug_logger_ec2 --expand
102102

103103
## Outputs
104104

105-
No output.
105+
| Name | Description |
106+
|------|-------------|
107+
| cloudwatch\_log\_group\_name | Name of cloudwatch log group which holds service-specific log events. |
106108

107109
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
output "cloudwatch_log_group_name" {
2+
description = "Name of cloudwatch log group which holds service-specific log events."
3+
value = aws_cloudwatch_log_group.this.name
4+
}

0 commit comments

Comments
 (0)