Skip to content

Commit a9419a4

Browse files
committed
add imports back
1 parent 675896f commit a9419a4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

terraform/envs/prod/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ provider "aws" {
2828
}
2929
}
3030
}
31-
31+
import {
32+
to = aws_cloudwatch_log_group.main_app_logs
33+
id = "/aws/lambda/${var.ProjectId}-lambda"
34+
}
3235
resource "aws_cloudwatch_log_group" "main_app_logs" {
3336
name = "/aws/lambda/${var.ProjectId}-lambda"
3437
retention_in_days = var.LogRetentionDays

terraform/envs/qa/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ provider "aws" {
2424
}
2525
}
2626
}
27+
import {
28+
to = aws_cloudwatch_log_group.main_app_logs
29+
id = "/aws/lambda/${var.ProjectId}-lambda"
30+
}
2731
resource "aws_cloudwatch_log_group" "main_app_logs" {
2832
name = "/aws/lambda/${var.ProjectId}-lambda"
2933
retention_in_days = var.LogRetentionDays

0 commit comments

Comments
 (0)