lb

claranet/lb/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Load Balancer

Install
module "lb" {
source = "claranet/lb/azurerm"
version = "8.0.2"
}
plain text: /constructs/tfmod-claranet-lb-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Load Balancer (L4) ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/lb/azurerm/) This Terraform module creates an Azure Load Balancer with possible Public IP address and basic NAT. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | = 1.2.28 | | azurerm | ~> 4.31 | Modules N

Inputs (25)
NameTypeDescriptionDefault
environmentstringProject environment. required
stackstringProject stack name. required
resource_group_namestringResource group name. required
location_shortstringShort string for Azure location. required
locationstringAzure location. required
client_namestringClient name/account used in naming. required
ip_custom_namestringName of the Public IP address, generated if not set.""
extra_tagsmap(string)Extra tags to add on all resources.{}
sku_namestringThe Name of the SKU used for this Load Balancer. Possible values are `Basic` and"Standard"
nat_protocolstringTransport protocol to use for NAT."All"
frontend_ip_configurationsmap(object({ subnet_id = s`frontend_ip_configuration` blocks as documented (here)[https://registry.terrafo{}
zoneslist(number)Specifies a list of Availability Zones in which the Public IP Address for this L[ 1, 2, 3 ]
custom_namestringName of the Load Balancer, generated if not set.""
public_ip_allocation_methodstringAllocation method for the Public IP address, can be `Static`, `Dynamic`."Static"
public_ip_custom_domain_name_labelstringLabel for the Domain Name. Will be used to make up the FQDN. If a domain name la""
nat_enabledboolTrue to enable NAT through Load Balancer outbound rules.false
name_prefixstringOptional prefix for the generated name.""
default_backend_pool_custom_namestringName of the default Load Balancer backend pool, generated if not set.""
default_tags_enabledboolOption to enable or disable default tags.true
ip_extra_tagsmap(string)Extra tags to add to the Public IP address.{}
lb_extra_tagsmap(string)Extra tags to add to the Load Balancer.{}
public_ip_allocatedboolTrue to allocate a Public IP to the Load Balancer.false
public_ip_skustringSKU name for the Public IP address, can be `Basic` or `Standard`."Standard"
nat_allocated_outbound_portsnumberNumber of allocated outbound ports for NAT.1024
name_suffixstringOptional suffix for the generated name.""
Outputs (20)
outbound_rule_allocated_outbound_ports — Number of allocated oubound ports of the default outbound rule if any.
name — Name of the Load Balancer.
pubip_id — ID of the public IP address if any.
oubound_rule — Load Balancer's default outbound rule resource object if any.
frontend_ip_configuration — Load Balancer's frontend IP configuration as described [here](https://registry.terraform.io/provider
pubip — Public IP address resource object if any.
pubip_domain_name_label — Domain name label of the public IP address if any.
outbound_rule_id — ID of the default outbound rule if any.
resource — Load Balancer resource object.
private_ip_address — Private IP address of the Load Balancer.
pubip_ip_address — IP address of the public IP address if any.
backend_address_pool — Load Balancer's default backend address pool resource object.
backend_address_pool_id — ID of the associated default backend address pool.
backend_address_pool_name — Name of the associated default backend address pool.
outbound_rule_name — Name of the default outbound rule if any.
id — ID of the Load Balancer.
private_ip_addresses — Private IP addresses of the Load Balancer.
pubip_fqdn — FQDN of the public IP address if any.
backend_address_pool_ip_configurations — IP configurations of the associated default backend address pool.
backend_address_pool_load_balancing_rules — Load balancing rules of the associated default backend address pool.
Resources (4)
azurerm_lbazurerm_lb_backend_address_poolazurerm_lb_outbound_ruleazurerm_public_ip
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.2
Cloud AZURERM
★ Stars3
Forks6
Total downloads40.0k
Inputs25
Outputs20
Resources4
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated