Skip to content

Add support for ALB health check logs #45211

@BradyShober

Description

@BradyShober

Description

AWS now supports configuring load balancer health check logging to S3: https://aws.amazon.com/about-aws/whats-new/2025/11/application-load-balancer-health-check-logs/

Affected Resource(s) or Data Source(s)

  • aws_lb

Potential Terraform Configuration

resource "aws_lb" "test" {
  name               = "test-lb-tf"
  internal           = false
  load_balancer_type = "application"
  security_groups    = [aws_security_group.lb_sg.id]
  subnets            = [for subnet in aws_subnet.public : subnet.id]

  enable_deletion_protection = true

  access_logs {
    bucket  = aws_s3_bucket.lb_logs.id
    prefix  = "test-lb"
    enabled = true
  }

health_check_logs {
    bucket  = aws_s3_bucket.lb_logs.id
    prefix  = "test-lb"
    enabled = true
  }

  tags = {
    Environment = "production"
  }
}

References

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-health-check-logging.html

Would you like to implement the enhancement?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.needs-triageWaiting for first response or review from a maintainer.service/elbv2Issues and PRs that pertain to the elbv2 service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions