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 e112df2941 Merge branch 'feature/init-lb' of fxinnovation-public/terraform-module-azurerm-load-balancer into master 1 week ago
examples add output and fix descriptions 1 week ago
.gitignore inital commit 1 month ago
.pre-commit-config.yaml test:debug 2 weeks ago
Jenkinsfile fix review 1 month ago
LICENSE test:debug 2 weeks ago
README.md typo fix 1 week ago
data.tf test:debug 2 weeks ago
main.tf add output and fix descriptions 1 week ago
outputs.tf add output and fix descriptions 1 week ago
variables.tf typo fix 1 week ago
versions.tf test:debug 2 weeks ago

README.md

terraform-module-azurerm-load-balancer

Usage

See examples folders for usage of this module.

Providers

Name Version
azurerm n/a

Inputs

Name Description Type Default Required
backend_pool_enabled Boolean flag which describes whethere the Load balncer Backend pool is enabled or not. bool false no
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
backend_pool_names List of names of the backend pools which will be created list(string)
[
“”
]
no
enable_floating_ip Enables the Floating IP Capacity, required to configure a SQL AlwaysOn Availability Group. bool false no
enabled Enable or disable module bool true no
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_probe_interval_in_seconds The interval, in seconds between probes to the backend endpoint for health status. number 5 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_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_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
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
nat_backend_ports List of backend port which will be associated to the backend ports. list(string)
[
“”
]
no
nat_frontend_ports List of frontend port which will be associated to the rules. list(string)
[
“”
]
no
nat_pool_backend_ports List of back end ports for the NAT pool. list(string)
[
“”
]
no
nat_pool_enabled Boolean flag to enable nat pool bool false no
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
nat_pool_names List of nat pool names for nat pool. list(string)
[
“”
]
no
nat_pool_protocols List of nat pool protocols. list(string)
[
“”
]
no
nat_protocols List of NAT protocols which are associated to the rules. list(string)
[
“”
]
no
nat_rule_enabled Boolean flag which decribes whether or not to enable the nat rules. bool false no
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
nat_rule_names List of names for the NAT rules. list(string)
[
“”
]
no
port_ends List of the frontend port end for NAT pool. list(string)
[
“”
]
no
port_starts List of frontend port start for NAT pool. list(string)
[
“”
]
no
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
probe_names List of Load Balncer probe names that will be created. changing this will force to create new resource. list(string)
[
“”
]
no
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
probe_protocols List of protocol of the end point. possible values are Http, Https or Tcp. list(string)
[
“”
]
no
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
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
resource_group_name Name of the resource group where to create the Load Balancers. string n/a yes
sku The SKU of the Load Balancer. string "Basic" no
tags Tags shared by all resources of this module. Will be merged with any other specific tags by resource map {} no
timeout_in_minutes Specifies the timeout for the Tcp idle connection. number 5 no
type Define if the Load Balancer is private or public. string "public" no

Outputs

Name Description
backend_pool_ids The IDs of the backend address pools.
backend_pool_ids_map Map with names and IDs of created backend pools.
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_probe_ids the IDs of the Load Balncer probes.
lb_rule_ids The IDs of the Load Balancer Rules.
nat_pool_ids The IDs of the Load Balncer NAT pools.
nat_rule_ids The IDs of the Load Balncer NAT rules.
public_ip_ids The IDs for the public_ip resource