We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813ce1d commit 7182fd2Copy full SHA for 7182fd2
terraform/envs/prod/main.tf
@@ -18,6 +18,10 @@ provider "aws" {
18
}
19
20
21
+import {
22
+ to = aws_cloudwatch_log_group.main_app_logs
23
+ id = "/aws/lambda/${var.ProjectId}-lambda"
24
+}
25
resource "aws_cloudwatch_log_group" "main_app_logs" {
26
name = "/aws/lambda/${var.ProjectId}-lambda"
27
retention_in_days = var.LogRetentionDays
0 commit comments