AWS Elastic Load Balancer v2 (ELBv2) with cross-zone load balancing disabled
Description
Cross-zone load balancing is a feature that distributes incoming traffic evenly across the healthy targets in all enabled availability zones. This can help to ensure that your application is able to handle more traffic and reduce the risk of any single availability zone becoming overloaded and might be impact Load balancer's performance
Code Example
go
resource "aws_secretsmanager_secret" "example" {
name = "example"
+ kms_key_id = "arn:kuku:kisi"
}Remediation
Terraform
- Resource: aws_lb
- Arguments: enable_cross_zone_load_balancing
Rule Details
| Field | Value |
|---|---|
| ID | IAC-0201 |
| Severity | INFO |
| IaC Type | Terraform |
| Frameworks | Terraform, TerraformPlan |
| Checkov ID | CKV_AWS_152 |