diff --git a/modules/loadbalancer/README.md b/modules/loadbalancer/README.md index 2622d032..5b71e048 100644 --- a/modules/loadbalancer/README.md +++ b/modules/loadbalancer/README.md @@ -129,6 +129,7 @@ Name | Type | Description Name | Description --- | --- +`id` | The identifier of the Load Balancer resource. `backend_pool_id` | The identifier of the backend pool. `frontend_ip_configs` | Map of IP addresses, one per each entry of `frontend_ips` input. Contains public IP address for the frontends that have it, private IP address otherwise. diff --git a/modules/loadbalancer/outputs.tf b/modules/loadbalancer/outputs.tf index fb03b34a..09792b18 100644 --- a/modules/loadbalancer/outputs.tf +++ b/modules/loadbalancer/outputs.tf @@ -1,3 +1,8 @@ +output "id" { + description = "The identifier of the Load Balancer resource." + value = azurerm_lb.this.id +} + output "backend_pool_id" { description = "The identifier of the backend pool." value = azurerm_lb_backend_address_pool.this.id