ALB Module¶
Source: tofu/modules/alb
Creates an internet-facing Application Load Balancer with HTTPS listener, ACM certificate, and default target group.
Inputs¶
| Variable | Type | Description |
|---|---|---|
name |
string | Name prefix |
vpc_id |
string | VPC ID |
subnet_ids |
list(string) | Public subnet IDs |
certificate_arn |
string | ACM certificate ARN |
instance_id |
string | Target instance ID |
target_port |
number | Default target port |
health_check_path |
string | Health check path |
tags |
map(string) | Resource tags |
Outputs¶
| Output | Description |
|---|---|
alb_arn |
ALB ARN (for WAF association) |
https_listener_arn |
HTTPS listener ARN (for additional rules) |
security_group_id |
ALB security group ID |