Skip to content

Commit 7182fd2

Browse files
committed
import cloudwatch log group
1 parent 813ce1d commit 7182fd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

terraform/envs/prod/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ provider "aws" {
1818
}
1919
}
2020

21+
import {
22+
to = aws_cloudwatch_log_group.main_app_logs
23+
id = "/aws/lambda/${var.ProjectId}-lambda"
24+
}
2125
resource "aws_cloudwatch_log_group" "main_app_logs" {
2226
name = "/aws/lambda/${var.ProjectId}-lambda"
2327
retention_in_days = var.LogRetentionDays

0 commit comments

Comments
 (0)