We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db6311 commit 096ef13Copy full SHA for 096ef13
1 file changed
infrastructure/modules/lambda/cloudwatch_log_group.tf
@@ -10,3 +10,17 @@ resource "aws_cloudwatch_log_group" "main" {
10
},
11
)
12
}
13
+
14
+resource "aws_cloudwatch_log_group" "main_us_east_1" {
15
+ count = var.lambda_at_edge ? 1 : 0
16
+ name = "/aws/lambda/us-east-1.${local.csi}"
17
+ retention_in_days = var.log_retention_in_days
18
+ kms_key_id = var.kms_key_arn
19
20
+ tags = merge(
21
+ local.default_tags,
22
+ {
23
+ Name = local.csi
24
+ },
25
+ )
26
+}
0 commit comments