networking/lb¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.lb["azurecaf_name.lb"]
azurerm_lb.lb["azurerm_lb.lb"]
remote:public_ip_addresses["remote:public_ip_addresses"]
remote:virtual_network["remote:virtual_network"]
azurerm_lb.lb --> azurecaf_name.lb
azurerm_lb.lb --> remote:public_ip_addresses
azurerm_lb.lb --> remote:virtual_network
Module Reference¶
Category: networking
Path: modules/networking/lb
Azure Resources: azurecaf_name, azurerm_lb
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"global_settings" |
"Global settings object (see module README.md)" | any |
yes | - |
- |
"client_config" |
"Client configuration object (see module README.md)." | any |
yes | - |
- |
"settings" |
"(Required) Used to handle passthrough paramenters." | any |
yes | - |
- |
"remote_objects" |
"Remote objects configuration." | any |
no | {} |
- |
"base_tags" |
"Base tags for the resource to be inherited from the resource group." | map(any) |
no | {} |
- |
"resource_group_name" |
" The name of the Resource Group in which to create the Load Balancer." | any |
yes | - |
- |
"location" |
" The key of the location in which to create the Load Balancer." | any |
yes | - |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"id" |
"The Load Balancer ID." | - | azurerm_lb.lb.id |
"frontend_ip_configuration" |
"A frontend_ip_configuration block as documented below." |
- | azurerm_lb.lb.frontend_ip_configuration |
"private_ip_address" |
"The first private IP address assigned to the load balancer in frontend_ip_configuration blocks, if any." |
- | azurerm_lb.lb.private_ip_address |
"private_ip_addresses" |
"The list of private IP address assigned to the load balancer in frontend_ip_configuration blocks, if any." |
- | azurerm_lb.lb.private_ip_addresses |
Sources¶
modules/networking/lb/locals.tfmodules/networking/lb/main.tfmodules/networking/lb/module.tfmodules/networking/lb/outputs.tfmodules/networking/lb/variables.tf