ECS clusters have an optional Container Insights feature, which can be enabled on a per-cluster basis in CreateCluster API call.
This enables more CloudWatch metrics to be recorded about the running services and tasks. It should be possible to enable this in aws_ecs_cluster
resources.
aws_ecs_cluster
resource "aws_ecs_cluster" "foo" {
name = "white-hart"
container_insights = true
}
Needs v1.21.0 aws sdk
Hi, let me try
Amazon CloudWatch Container Insights is now GA.
Announcement.
Blog post.
Support for a new setting
configuration block in the aws_ecs_cluster
resource has been merged and will release with version 2.27.0 of the Terraform AWS Provider, tomorrow. 👍 Thanks to @chaspy and @stack72 for their implementation work.
This has been released in version 2.27.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Amazon CloudWatch Container Insights is now GA.
Announcement.
Blog post.