Skip to content

Commit 505b967

Browse files
committed
add log group
1 parent 5e63757 commit 505b967

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

terraform/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,8 @@ resource "aws_cloudwatch_event_target" "lambda_target" {
9696

9797
}
9898
}
99+
100+
resource "aws_cloudwatch_log_group" "log_group" {
101+
name = "/aws/lambda/${aws_lambda_function.lambda.function_name}"
102+
retention_in_days = 14
103+
}

0 commit comments

Comments
 (0)