loadbalancer
Azure/loadbalancer/azurerm
Terraform Azure RM Module for Load Balancer
terraform-azurerm-loadbalancer A terraform module to provide load balancers in Azure with the following characteristics: - Ability to specify public or private loadbalancer using: var.type. Default is public. - Specify subnet to use for the loadbalancer: frontend_subnet_id - For private loadbalancer, specify the private ip address usingfrontend_private_ip_address - Specify the type of the private ip address with frontend_private_ip_address_allocation, Dynamic or Static , default is Dynamic Notice on Upgrade to V4.x We've added a CI pipeline for this module to speed up our code review and to enforce a high code quality standard, if you want to contribute by submitting a pull request, please read Pre-Commit & Pr-Check & Test section, or your pull request might be rejected by CI pipeline. A p
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | (Required) The name of the resource group where the load balancer resources will | required |
| pip_ddos_protection_plan_id | string | (Optional) The ID of DDoS protection plan associated with the public IP. `ddos_p | null |
| disable_outbound_snat | bool | (Optional) Is snat enabled for this Load Balancer Rule? Default `false`. | false |
| edge_zone | string | (Optional) Specifies the Edge Zone within the Azure Region where this Public IP | null |
| lb_probe_unhealthy_threshold | number | Number of times the load balancer health probe has an unsuccessful attempt befor | 2 |
| pip_sku_tier | string | (Optional) The SKU Tier that should be used for the Public IP. Possible values a | "Regional" |
| frontend_ip_zones | set(string) | (Optional) A collection containing the availability zone to allocate the IP in. | null |
| lb_sku_tier | string | (Optional) The SKU tier of this Load Balancer. Possible values are `Global` and | "Regional" |
| pip_ddos_protection_mode | string | (Optional) The DDoS protection mode of the public IP. Possible values are `Disab | "VirtualNetworkInherited" |
| pip_name | string | (Optional) Name of public ip. If it is set, the 'prefix' variable will be ignore | "" |
| pip_public_ip_prefix_id | string | (Optional) If specified then public IP address allocated will be provided from t | null |
| pip_sku | string | (Optional) The SKU of the Azure Public IP. Accepted values are Basic and Standar | "Basic" |
| prefix | string | (Required) Default prefix to use with your resource names. | "azure_lb" |
| type | string | (Optional) Defined if the loadbalancer is private or public | "public" |
| frontend_subnet_name | string | (Optional) Frontend virtual network name to use when in private mode. Conflict w | "" |
| lb_port | map(any) | Protocols to be used for lb rules. Format as [frontend_port, protocol, backend_p | {} |
| lb_probe_interval | number | Interval in seconds the load balancer health probe rule does a check | 5 |
| pip_domain_name_label | string | (Optional) Label for the Domain Name. Will be used to make up the FQDN. If a do | null |
| pip_ip_version | string | (Optional) The IP Version to use, `IPv6` or `IPv4`. Defaults to `IPv4`. Changing | "IPv4" |
| pip_reverse_fqdn | string | (Optional) A fully qualified domain name that resolves to this public IP address | null |
| frontend_name | string | (Required) Specifies the name of the frontend ip configuration. | "myPublicIP" |
azurerm_lb_backend_address_pool_id — the id for the azurerm_lb_backend_address_pool resourceazurerm_lb_id — the id for the azurerm_lb resourceazurerm_public_ip_address — the ip address for the azurerm_lb_public_ip resourceazurerm_public_ip_id — the id for the azurerm_lb_public_ip resourceazurerm_resource_group_name — name of the resource group provisionedazurerm_resource_group_tags — the tags provided for the resource groupazurerm_lb_frontend_ip_configuration — the frontend_ip_configuration for the azurerm_lb resourceazurerm_lb_nat_rule_ids — the ids for the azurerm_lb_nat_rule resourcesazurerm_lb_probe_ids — the ids for the azurerm_lb_probe resources