Classic Load Balancer
Terraform module to create AWS ELB resources
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
{}connection_drainingoptionalboolBoolean to enable connection draining
falseconnection_draining_timeoutoptionalnumberThe time in seconds to allow for connections to drain
300create_elboptionalboolCreate the elb or not
truecross_zone_load_balancingoptionalboolEnable cross-zone load balancing
trueidle_timeoutoptionalnumberThe time in seconds that the connection is allowed to be idle
60instancesoptionallist(string)List of instances ID to place in the ELB pool
[]internaloptionalboolIf true, ELB will be an internal ELB
falsenameoptionalstringThe name of the ELB
nullname_prefixoptionalstringThe prefix name of the ELB
nullnumber_of_instancesoptionalnumberNumber of instances to attach to ELB
0tagsoptionalmap(string)A mapping of tags to assign to the resource
{}4 of 16 must be supplied; the rest have defaults.
Outputs
7
elb_arnThe ARN of the ELB
elb_dns_nameThe DNS name of the ELB
elb_idThe name of the ELB
elb_instancesThe list of instances in the ELB
elb_nameThe name of the ELB
elb_source_security_group_idThe 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_idThe 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.