Terraform AWS ALB
Application Load Balancers with listeners, listener rules, target groups, TLS certificates, access logs, WAF integration, and security group restricted ingress.
Controls enforced
These compliance controls are checked at terraform plan time.
- ELB application and classic load balancer logging should be enabled(low effort)
- ELB load balancers should prohibit public access(low effort)
- ELB application load balancer deletion protection should be enabled(low effort)
- ELB application load balancers should be configured with defensive or strictest desync mitigation mode(low effort)
- ELB application load balancers should be configured to drop HTTP headers(low effort)
- ELB application load balancers should drop invalid HTTP headers(low effort)
- ELB application and network load balancers should use recommended security policies(low effort)
- ELB application and network load balancers should only use SSL or HTTPS listeners(low effort)
- ELB application and network load balancer listeners should use secure protocols(low effort)
- ELB network load balancers should have TLS listener security policy configured(low effort)
- ELB listeners should use approved SSL/TLS protocol versions(low effort)
Quick start
See the Get Started guide and Registry Endpoints for details on how to customize the module for your requirements.
Migration from upstream
Already using terraform-aws-modules? Change only the source URL:
module "alb" {
source = "terraform-aws-modules/alb/aws"
version = "1.0"
}module "alb" {
source = "soc2.compliance.tf/terraform-aws-modules/alb/aws"
version = "1.0"
}Same arguments. Same outputs. Controls are checked at terraform plan. See the Migration Guide for step-by-step instructions.
Reversibility
No lock-in. Switch back by reverting the source URL:
module "alb" {
source = "terraform-aws-modules/alb/aws"
}Run terraform init -upgrade. Terraform state is unchanged — same resource addresses, same provider, no compliance.tf-specific resources. Controls you already applied remain in AWS.
Mapped compliance frameworks
Framework coverage
Which controls from this module are active under each framework endpoint.
● enforced by default · ○ not activated by this endpoint