Skip to content

Commit 49fd017

Browse files
authored
Merge pull request #3 from custom-terraform-aws-modules/fix/log-name
fix: log group name (#2)
2 parents 53bd8c1 + 1a68320 commit 49fd017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
resource "aws_cloudwatch_log_group" "main" {
66
count = var.log_config != null ? 1 : 0
7-
name = "/aws/lambda/${var.identifier}"
7+
name = "${var.identifier}-lambda"
88
retention_in_days = try(var.log_config["retention_in_days"], null)
99

1010
tags = var.tags

0 commit comments

Comments
 (0)