Skip to content

Commit 534a365

Browse files
authored
Merge pull request #4 from custom-terraform-aws-modules/enha/outputs
enha: added log group ARN to outputs (#1)
2 parents 49fd017 + 3287a79 commit 534a365

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ This module provides a Lambda function which logs to CloudWatch. If no image URI
5959
| arn | The ARN of the Lambda function. |
6060
| invoke_arn | The invoke ARN of the Lambda function. |
6161
| log_group_name | The name of the CloudWatch log group created for the Lambda function to log to. |
62+
| log_group_arn | The ARN of the CloudWatch log group created for the Lambda function to log to. |
6263

6364
## Example
6465

outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ output "log_group_name" {
1212
description = "The name of the CloudWatch log group created for the Lambda function to log to."
1313
value = try(aws_cloudwatch_log_group.main[0].name, null)
1414
}
15+
16+
output "log_group_arn" {
17+
description = "The ARN of the CloudWatch log group created for the Lambda function to log to."
18+
value = try(aws_cloudwatch_log_group.main[0].arn, null)
19+
}

0 commit comments

Comments
 (0)