{"id":18578953,"url":"https://github.com/libre-devops/terraform-azurerm-private-lb","last_synced_at":"2026-04-27T20:31:21.085Z","repository":{"id":118714538,"uuid":"484754383","full_name":"libre-devops/terraform-azurerm-private-lb","owner":"libre-devops","description":"A module which tries to follow the \"KISS\" design model to deploying a Private Azure Load Balancer.  Will created 1 LBs and a backend pool based on some parameters :knife:","archived":false,"fork":false,"pushed_at":"2022-05-17T21:44:42.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T10:26:37.599Z","etag":null,"topics":["azure","azurerm","azurerm-terraform-provider","module","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libre-devops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-23T13:25:09.000Z","updated_at":"2022-04-23T13:57:44.000Z","dependencies_parsed_at":"2023-11-07T00:32:31.691Z","dependency_job_id":null,"html_url":"https://github.com/libre-devops/terraform-azurerm-private-lb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/libre-devops/terraform-azurerm-private-lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-private-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-private-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-private-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-private-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/terraform-azurerm-private-lb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-private-lb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azurerm","azurerm-terraform-provider","module","terraform","terraform-module"],"created_at":"2024-11-06T23:38:24.368Z","updated_at":"2026-04-27T20:31:21.068Z","avatar_url":"https://github.com/libre-devops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nmodule \"rg\" {\n  source = \"registry.terraform.io/libre-devops/rg/azurerm\"\n\n  rg_name  = \"rg-${var.short}-${var.loc}-${terraform.workspace}-build\" // rg-ldo-euw-dev-build\n  location = local.location                                            // compares var.loc with the var.regions var to match a long-hand name, in this case, \"euw\", so \"westeurope\"\n  tags     = local.tags\n\n  #  lock_level = \"CanNotDelete\" // Do not set this value to skip lock\n}\n\nmodule \"network\" {\n  source = \"registry.terraform.io/libre-devops/network/azurerm\"\n\n  rg_name  = module.rg.rg_name // rg-ldo-euw-dev-build\n  location = module.rg.rg_location\n  tags     = local.tags\n\n  vnet_name     = \"vnet-${var.short}-${var.loc}-${terraform.workspace}-01\" // vnet-ldo-euw-dev-01\n  vnet_location = module.network.vnet_location\n\n  address_space   = [\"10.0.0.0/16\"]\n  subnet_prefixes = [\"10.0.1.0/24\", \"10.0.2.0/24\", \"10.0.3.0/24\"]\n  subnet_names    = [\"sn1-${module.network.vnet_name}\", \"sn2-${module.network.vnet_name}\", \"sn3-${module.network.vnet_name}\"] //sn1-vnet-ldo-euw-dev-01\n\n  subnet_service_endpoints = {\n    subnet2 = [\"Microsoft.Storage\", \"Microsoft.Sql\"], // Adds extra subnet endpoints\n    subnet3 = [\"Microsoft.AzureActiveDirectory\"]\n  }\n}\n\nmodule \"private_lb\" {\n  source = \"registry.terraform.io/libre-devops/private-lb/azurerm\"\n\n  rg_name  = module.rg.rg_name\n  location = module.rg.rg_location\n  tags     = module.rg.rg_tags\n\n  lb_frontend_ip_configurations = {\n    \"lbi-${var.short}-${var.loc}-${terraform.workspace}-01-ipconfig\" = {\n      subnet_id                     = element(values(module.network.subnets_ids), 2),\n      private_ip_address_allocation = \"Dynamic\"\n    },\n  }\n\n  lb_name                  = \"lbi-${var.short}-${var.loc}-${terraform.workspace}-01\" // lbi-ldo-euw-dev-01\n  lb_bpool_name            = \"bpool-${module.private_lb.lb_name}\"\n}\n```\n\nFor a full example build, check out the [Libre DevOps Website](https://www.libredevops.org/quickstart/utils/terraform/using-lbdo-tf-modules-example.html)\n\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_lb.priv_lb](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/lb) | resource |\n| [azurerm_lb_backend_address_pool.private_lb_bpool](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/lb_backend_address_pool) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_lb_bpool_name\"\u003e\u003c/a\u003e [lb\\_bpool\\_name](#input\\_lb\\_bpool\\_name) | The name for the backend pool for the Load Balancer | `string` | n/a | yes |\n| \u003ca name=\"input_lb_frontend_ip_configurations\"\u003e\u003c/a\u003e [lb\\_frontend\\_ip\\_configurations](#input\\_lb\\_frontend\\_ip\\_configurations) | Load Balancer frontend config | `map(any)` | `{}` | no |\n| \u003ca name=\"input_lb_name\"\u003e\u003c/a\u003e [lb\\_name](#input\\_lb\\_name) | The name of the LB | `string` | n/a | yes |\n| \u003ca name=\"input_lb_sku_name\"\u003e\u003c/a\u003e [lb\\_sku\\_name](#input\\_lb\\_sku\\_name) | The SKU of the lb | `string` | `\"Standard\"` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The location for this resource to be put in | `string` | n/a | yes |\n| \u003ca name=\"input_rg_name\"\u003e\u003c/a\u003e [rg\\_name](#input\\_rg\\_name) | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"source\": \"terraform\"\u003cbr\u003e}\u003c/pre\u003e | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_bpool_id\"\u003e\u003c/a\u003e [bpool\\_id](#output\\_bpool\\_id) | The id of the backend pool |\n| \u003ca name=\"output_bpool_name\"\u003e\u003c/a\u003e [bpool\\_name](#output\\_bpool\\_name) | The name of the backend pool |\n| \u003ca name=\"output_lb_id\"\u003e\u003c/a\u003e [lb\\_id](#output\\_lb\\_id) | The ID of the load balancer |\n| \u003ca name=\"output_lb_ip_configuration\"\u003e\u003c/a\u003e [lb\\_ip\\_configuration](#output\\_lb\\_ip\\_configuration) | The frontend ip configuration object |\n| \u003ca name=\"output_lb_name\"\u003e\u003c/a\u003e [lb\\_name](#output\\_lb\\_name) | The Name of the load balancer |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-private-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-private-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-private-lb/lists"}