From 71cf4855d9a718d8b06fbbe1adb62f223a5b2c2a Mon Sep 17 00:00:00 2001 From: Sourav Kundu Date: Tue, 11 Jun 2024 10:45:08 -0500 Subject: [PATCH] removed log stream resource since it is created by function --- cloudwatch.tf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cloudwatch.tf b/cloudwatch.tf index e3783d5..8ad1682 100644 --- a/cloudwatch.tf +++ b/cloudwatch.tf @@ -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 } \ No newline at end of file