Skip to content

Commit

Permalink
Merge pull request #12 from kunduso/add-lambda
Browse files Browse the repository at this point in the history
removed log stream resource since it is created by function
  • Loading branch information
kunduso authored Jun 11, 2024
2 parents 15fd416 + 71cf485 commit ed32378
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 ed32378

Please sign in to comment.