Skip to content

Commit

Permalink
removed log stream resource since it is created by function
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Jun 11, 2024
1 parent be5aa3b commit 71cf485
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@ resource "aws_cloudwatch_log_group" "lambda_log" {
name = var.name
retention_in_days = 365
kms_key_id = aws_kms_key.encryption_rest.arn
}
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_stream
resource "aws_cloudwatch_log_stream" "lambda_log_stream" {
name = "${var.name}-lambda-log-stream"
log_group_name = aws_cloudwatch_log_group.lambda_log.name
}

0 comments on commit 71cf485

Please sign in to comment.