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 675896f commit a9419a4Copy full SHA for a9419a4
terraform/envs/prod/main.tf
@@ -28,7 +28,10 @@ provider "aws" {
28
}
29
30
31
-
+import {
32
+ to = aws_cloudwatch_log_group.main_app_logs
33
+ id = "/aws/lambda/${var.ProjectId}-lambda"
34
+}
35
resource "aws_cloudwatch_log_group" "main_app_logs" {
36
name = "/aws/lambda/${var.ProjectId}-lambda"
37
retention_in_days = var.LogRetentionDays
terraform/envs/qa/main.tf
@@ -24,6 +24,10 @@ provider "aws" {
24
25
26
27
0 commit comments