diff --git a/README.md b/README.md index 90f9cd9..c88d85a 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ No modules. | [iam\_role\_name](#output\_iam\_role\_name) | IAM role name | | [iam\_role\_unique\_id](#output\_iam\_role\_unique\_id) | Stable and unique string identifying the IAM role | | [log\_group\_arn](#output\_log\_group\_arn) | The Amazon Resource Name (ARN) of the CloudWatch log group | +| [log\_group\_name](#output\_log\_group\_name) | The name of the CloudWatch log group | | [proxy\_arn](#output\_proxy\_arn) | The Amazon Resource Name (ARN) for the proxy | | [proxy\_default\_target\_group\_arn](#output\_proxy\_default\_target\_group\_arn) | The Amazon Resource Name (ARN) for the default target group | | [proxy\_default\_target\_group\_id](#output\_proxy\_default\_target\_group\_id) | The ID for the default target group | diff --git a/outputs.tf b/outputs.tf index 355b2b4..fce0928 100644 --- a/outputs.tf +++ b/outputs.tf @@ -78,6 +78,11 @@ output "log_group_arn" { value = try(aws_cloudwatch_log_group.this[0].arn, null) } +output "log_group_name" { + description = "The name of the CloudWatch log group" + value = try(aws_cloudwatch_log_group.this[0].name, null) +} + # IAM role output "iam_role_arn" { description = "The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager."