Module library

Classic Load Balancer

Terraform module to create AWS ELB resources

Version
Submodules
elbelb_attachment

Inputs

16
health_checkrequiredmap(string)

A health check block

listenerrequiredlist(map(string))

A list of listener blocks

security_groupsrequiredlist(string)

A list of security group IDs to assign to the ELB

subnetsrequiredlist(string)

A list of subnet IDs to attach to the ELB

access_logsoptionalmap(string)

An access logs block

Default{}
connection_drainingoptionalbool

Boolean to enable connection draining

Defaultfalse
connection_draining_timeoutoptionalnumber

The time in seconds to allow for connections to drain

Default300
create_elboptionalbool

Create the elb or not

Defaulttrue
cross_zone_load_balancingoptionalbool

Enable cross-zone load balancing

Defaulttrue
idle_timeoutoptionalnumber

The time in seconds that the connection is allowed to be idle

Default60
instancesoptionallist(string)

List of instances ID to place in the ELB pool

Default[]
internaloptionalbool

If true, ELB will be an internal ELB

Defaultfalse
nameoptionalstring

The name of the ELB

Defaultnull
name_prefixoptionalstring

The prefix name of the ELB

Defaultnull
number_of_instancesoptionalnumber

Number of instances to attach to ELB

Default0
tagsoptionalmap(string)

A mapping of tags to assign to the resource

Default{}

4 of 16 must be supplied; the rest have defaults.

Outputs

7
elb_arn

The ARN of the ELB

elb_dns_name

The DNS name of the ELB

elb_id

The name of the ELB

elb_instances

The list of instances in the ELB

elb_name

The name of the ELB

elb_source_security_group_id

The ID of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances

elb_zone_id

The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)

What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.