Skip to content

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

FieldValue
IDIAC-0201
SeverityINFO
IaC TypeTerraform
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AWS_152

References