Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.5 |
Name | Version |
---|---|
aws | >= 4.5 |
No modules.
Name | Type |
---|---|
aws_lb.alb | resource |
aws_lb_listener.listener | resource |
aws_lb_listener_certificate.listener_certificate | resource |
aws_lb_target_group.target_group | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
access_logs | An Access Logs block | list(object({ |
[] |
no |
alb_arn | ALB arn | string |
"" |
no |
attach_certificate | Indicate whether a new certificate needs to be attached | bool |
false |
no |
certificate_arn | The ARN of the certificate to attach to the listener | string |
"" |
no |
create_alb | Create ALB | bool |
false |
no |
create_alb_listener | Create ALB Listener | bool |
false |
no |
enable_deletion_protection | If true, deletion of the load balancer will be disabled via the AWS API. | bool |
true |
no |
idle_timeout | The time in seconds that the connection is allowed to be idle | number |
60 |
no |
internal | If true, the LB will be internal | bool |
false |
no |
listener_arn | The ARN of the listener to which to attach the rule | string |
"" |
no |
listeners | Map of listener configurations to create | any |
{} |
no |
name | The name of the LB | string |
"" |
no |
security_groups | The list of security groups for ALB. | list(any) |
[] |
no |
subnets | A list of subnet IDs to attach to the LB | list(string) |
[] |
no |
tags | A map of tags to add to all resources | map(string) |
{} |
no |
target_groups | Map of target group configurations to create | any |
{} |
no |
vpc_id | The VPC ID | string |
"" |
no |
Name | Description |
---|---|
arn | # All the below listed outputs returns value only when var.create_alb is true, otherwise they return an empty string ("") |
arn_suffix | n/a |
dns | n/a |
listeners | n/a |
target_groups | n/a |
zone_id | # All the below listed outputs returns value only when var.create_alb_listener is true, otherwise they return an empty string ("") |
Apache 2 Licensed. See LICENSE for full details.