github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/ecs/AVD-AWS-0034/Terraform.md (about)

     1  
     2  Enable Container Insights
     3  
     4  ```hcl
     5   resource "aws_ecs_cluster" "good_example" {
     6   	name = "services-cluster"
     7     
     8   	setting {
     9   	  name  = "containerInsights"
    10   	  value = "enabled"
    11   	}
    12   }
    13   
    14  ```
    15  
    16  #### Remediation Links
    17   - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#setting
    18