Skip to content

Commit

Permalink
feat: Introduce LB ID output for loadbalancer module (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelebanski authored Jul 15, 2024
1 parent 879ad62 commit b1059a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/loadbalancer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions modules/loadbalancer/outputs.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b1059a8

Please sign in to comment.