You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ravi.periketi 1e3309f299 Merge pull request 'add CHGANGELOG.md and update provider version' (#4) from update/provider into master 7 months ago
examples add CHGANGELOG.md and update provider version 7 months ago
.gitignore inital commit 10 months ago
.pre-commit-config.yaml add CHGANGELOG.md and update provider version 7 months ago
CHANGELOG.md add CHGANGELOG.md and update provider version 7 months ago
Jenkinsfile fix naming 9 months ago
LICENSE test:debug 9 months ago
README.md add CHGANGELOG.md and update provider version 7 months ago
data.tf test:debug 9 months ago
main.tf fix naming 9 months ago
outputs.tf fix naming 9 months ago
variables.tf fix naming 9 months ago
versions.tf add CHGANGELOG.md and update provider version 7 months ago

README.md

terraform-module-azurerm-load-balancer

Usage

See examples folders for usage of this module.

Requirements

Name Version
terraform >= 0.12
azurerm >= 2.0.0

Providers

Name Version
azurerm >= 2.0.0

Inputs

Name Description Type Default Required
enabled Enable or disable module bool true no
lb_backend_pool_enabled Boolean flag which describes whethere the Load balncer Backend pool is enabled or not. bool false no
lb_backend_pool_ids List of backend pool ids to which the Load Balancer rule operates. Changing this will force to create new resource. list(string)
[
““
]
no
lb_backend_pool_names List of names of the backend pools which will be created list(string) [] no
lb_frontend_ip_configurations One or more frontend IP configurations block. chaning this block will force to create new frontend IP configuration block to the Load Balancer. list(object({ name = string, subnet_id = string, private_ip_address = string, public_ip_address_id = string })) n/a yes
lb_nat_pool_backend_ports List of back end ports for the NAT pool. list(string)
[
““
]
no
lb_nat_pool_enabled Boolean flag to enable nat pool bool false no
lb_nat_pool_frontend_ip_configuration_names List of frotend IP configuration names to which the nat pool will be associated. Changing this will force to create new resource. list(string)
[
““
]
no
lb_nat_pool_frontend_port_ends List of the frontend port end for NAT pool. list(string)
[
““
]
no
lb_nat_pool_frontend_port_starts List of frontend port start for NAT pool. list(string)
[
““
]
no
lb_nat_pool_names List of nat pool names for nat pool. list(string)
[
““
]
no
lb_nat_pool_protocols List of nat pool protocols. list(string)
[
““
]
no
lb_nat_rule_backend_ports List of backend port which will be associated to the backend ports. list(string)
[
““
]
no
lb_nat_rule_enabled Boolean flag which describes whether or not to enable the nat rules. bool false no
lb_nat_rule_frontend_ip_configuration_names List of frontend IP configuration names to which nat rule will be associated. Changing tis will force to create new resource. list(string)
[
““
]
no
lb_nat_rule_frontend_ports List of frontend port which will be associated to the rules. list(string)
[
““
]
no
lb_nat_rule_names List of names for the NAT rules. list(string)
[
““
]
no
lb_nat_rule_protocols List of NAT protocols which are associated to the rules. list(string)
[
““
]
no
lb_probe_ids List of probe ids to which the Load Balancer rule is attached. Changing this will force to create new resource. list(string)
[
““
]
no
lb_probe_interval_in_seconds List of intervals, in seconds between probes to the backend endpoint for health status. list(number)
[
5
]
no
lb_probe_names List of Load Balncer probe names that will be created. changing this will force to create new resource. list(string)
[
““
]
no
lb_probe_ports List of ports on which the probe will queries the backend endpoint. possible values range from 1 to 65535, inclusive. list(string)
[
““
]
no
lb_probe_protocols List of protocol of the end point. possible values are Http, Https or Tcp. list(string)
[
““
]
no
lb_probe_request_paths List of URI used for requesting health status from the backend endpoint required if protocol is set to Http. Otherwise, it is not allowed. list(string)
[
““
]
no
lb_rule_backend_ports List of port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. list(string)
[
““
]
no
lb_rule_enable_floating_ip Enables the Floating IP Capacity, required to configure a SQL AlwaysOn Availability Group. bool false no
lb_rule_frontend_ip_configuration_names List of frontend ip configuration name to whcih the Load Balancer rule will be associated. Changing this will force to create new rule. list(string)
[
““
]
no
lb_rule_frontend_ports List of port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 1 and 65534, inclusive list(string)
[
““
]
no
lb_rule_idle_timeout_in_minutes List of timeouts for the TCP idle connection. list(number)
[
5
]
no
lb_rule_load_distributions List which specifies the load balancing distribution type to be used by the Load Balancer. Possible values are: Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers. SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers. SourceIPProtocol – The load balancer is configured to use a 3 tuple hash to map traffic to available servers. Also known as Session Persistence, where the options are called None, Client IP and Client IP and Protocol respectively. list(string)
[
“Default"
]
no
lb_rule_names List of loadbalncer rule names that will be created. changing this will force to create new resource. list(string)
[
““
]
no
lb_rule_protocols List of transport protocol for the external endpoint possible values are Udp, Tcp or All.changing this will force to create new resource. list(string)
[
““
]
no
lb_sku The SKU of the Load Balancer. string "Basic" no
load_balancer_tags Tags to add to the Load Balancer map {} no
loadbalancer_name Specifies the name of the Load Balancer. string n/a yes
location Location of the Load Balancer string n/a yes
public_ip_methods the allocation method for this ip address possible values are Static or Dynamic. list(string)
[
““
]
no
public_ip_names Names of the Public IP resource list(string)
[
““
]
no
public_ip_skus The sku of the public ip, accepted values are Basic and Standard defaults to Basic list(string)
[
““
]
no
resource_group_name Name of the resource group where to create the Load Balancers. string n/a yes
tags Tags shared by all resources of this module. Will be merged with any other specific tags by resource map {} no
type Define if the Load Balancer is private or public. string "public" no

Outputs

Name Description
lb_backend_pool_ids The IDs of the backend address pools.
lb_backend_pool_ids_map Map with names and IDs of created backend pools.
lb_frontend_ip_configuartion_addresses The list of private ip address assigned to the load balancer in frontend_ip_configuration blocks, if any.
lb_ids The IDs of the Load Balancers
lb_nat_pool_ids The IDs of the Load Balncer NAT pools.
lb_nat_rule_ids The IDs of the Load Balncer NAT rules.
lb_probe_ids the IDs of the Load Balncer probes.
lb_rule_ids The IDs of the Load Balancer Rules.
public_ip_ids The IDs for the public_ip resource