We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8918ebd + b8fe3f5 commit 61d9630Copy full SHA for 61d9630
README.md
@@ -67,6 +67,7 @@ performance and health.
67
68
## Resources
69
70
+- resource.aws_cloudwatch_log_group.container_insights (main.tf#62)
71
- resource.aws_cloudwatch_log_group.main (main.tf#55)
72
- resource.aws_ecs_cluster.main (main.tf#10)
73
main.tf
@@ -58,3 +58,12 @@ resource "aws_cloudwatch_log_group" "main" {
58
name = "/ecs/cluster/${var.name}/ssm-logs"
59
tags = var.tags
60
}
61
+
62
+resource "aws_cloudwatch_log_group" "container_insights" {
63
+ count = var.enable_container_insights ? 1 : 0
64
65
+ name = "/aws/ecs/containerinsights/${var.name}/performance"
66
+ retention_in_days = 1
+ tags = var.tags
+}
0 commit comments