Skip to content

Commit 6def56f

Browse files
committed
fix: log group name not provided in logging config
1 parent 534a365 commit 6def56f

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
@@ -135,7 +135,7 @@ resource "aws_lambda_function" "main" {
135135
dynamic "logging_config" {
136136
for_each = var.log_config != null ? [1] : []
137137
content {
138-
log_group = aws_cloudwatch_log_group.main[0].arn
138+
log_group = "${var.identifier}-lambda"
139139
log_format = "Text"
140140
}
141141
}

0 commit comments

Comments
 (0)