-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Open
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.needs-triageWaiting for first response or review from a maintainer.Waiting for first response or review from a maintainer.service/elbv2Issues and PRs that pertain to the elbv2 service.Issues and PRs that pertain to the elbv2 service.
Description
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
asimihsan
Metadata
Metadata
Assignees
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.needs-triageWaiting for first response or review from a maintainer.Waiting for first response or review from a maintainer.service/elbv2Issues and PRs that pertain to the elbv2 service.Issues and PRs that pertain to the elbv2 service.