{"id":18908509,"url":"https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer","last_synced_at":"2026-03-06T15:30:15.972Z","repository":{"id":237772631,"uuid":"795217979","full_name":"hegerdes/terraform-hcloud-hetzner-loadbalancer","owner":"hegerdes","description":"A terraform module to quicly generate hetzner hcloud loadbalancers and supporting services 🚀","archived":false,"fork":false,"pushed_at":"2024-05-05T14:20:11.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T12:19:51.060Z","etag":null,"topics":["hcl","hcloud","hetzner","iac","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/hegerdes/hetzner-loadbalancer/hcloud/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hegerdes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-02T20:21:21.000Z","updated_at":"2024-05-05T14:19:59.000Z","dependencies_parsed_at":"2024-11-08T09:30:10.665Z","dependency_job_id":"2b8e8314-b77b-4273-8c27-9cdfe694662c","html_url":"https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer","commit_stats":null,"previous_names":["hegerdes/terraform-hcloud-hetzner-loadbalancer"],"tags_count":2,"template":false,"template_full_name":"clowdhaus/terraform-aws-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegerdes%2Fterraform-hcloud-hetzner-loadbalancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegerdes%2Fterraform-hcloud-hetzner-loadbalancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegerdes%2Fterraform-hcloud-hetzner-loadbalancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegerdes%2Fterraform-hcloud-hetzner-loadbalancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hegerdes","download_url":"https://codeload.github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239895647,"owners_count":19714866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hcl","hcloud","hetzner","iac","terraform","terraform-module"],"created_at":"2024-11-08T09:26:44.176Z","updated_at":"2026-03-06T15:30:15.773Z","avatar_url":"https://github.com/hegerdes.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-hcloud-hetzner-loadbalancer terraform module\n\nTerraform module which creates terraform-hcloud-hetzner-loadbalancer resources. The module can be found on the [terraform.io registry](https://registry.terraform.io/modules/hegerdes/hetzner-loadbalancer/hcloud/latest) or on [github](https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer).\n\n## Usage\n\nSee [`examples`](https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer/tree/main/examples) directory for working examples to reference:\n\n```hcl\nmodule \"hetzner_loadbalancer\" {\n  source = \"hegerdes/terraform-hcloud-hetzner-loadbalancer/\"\n\n  location   = local.location\n  network_id = hcloud_network.example.id\n  name       = \"minimal\"\n}\n```\n\n## Examples\n\nExamples codified under the [`examples`](https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer/tree/main/examples) are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!\n\n- [Complete](https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer/tree/main/examples/complete)\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.5 |\n| \u003ca name=\"requirement_hcloud\"\u003e\u003c/a\u003e [hcloud](#requirement\\_hcloud) | \u003e=1.45.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_hcloud\"\u003e\u003c/a\u003e [hcloud](#provider\\_hcloud) | \u003e=1.45.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [hcloud_load_balancer.this](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer) | resource |\n| [hcloud_load_balancer_network.this](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer_network) | resource |\n| [hcloud_load_balancer_service.this](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer_service) | resource |\n| [hcloud_load_balancer_target.this](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer_target) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | Loadbalancer location | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Loadbalancer Name | `string` | n/a | yes |\n| \u003ca name=\"input_network_id\"\u003e\u003c/a\u003e [network\\_id](#input\\_network\\_id) | Loadbalancer network id. | `string` | n/a | yes |\n| \u003ca name=\"input_private_ip\"\u003e\u003c/a\u003e [private\\_ip](#input\\_private\\_ip) | The private ip of the loadbalancer. Auto assinged if not specified. | `string` | `null` | no |\n| \u003ca name=\"input_public\"\u003e\u003c/a\u003e [public](#input\\_public) | Loadbalancer internet facing | `bool` | `true` | no |\n| \u003ca name=\"input_services\"\u003e\u003c/a\u003e [services](#input\\_services) | Array of objects describing the loadbalancer target configuration. | \u003cpre\u003elist(object({\u003cbr\u003e    name           = string\u003cbr\u003e    protocol       = string\u003cbr\u003e    proxy_protocol = optional(bool, false)\u003cbr\u003e    source_port    = optional(number, 80)\u003cbr\u003e    target_port    = optional(number, 80)\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Loadbalancer tags/labels | `any` | `{}` | no |\n| \u003ca name=\"input_targets\"\u003e\u003c/a\u003e [targets](#input\\_targets) | Array of objects describing the loadbalancer listener (service) configuration. | \u003cpre\u003elist(object({\u003cbr\u003e    name   = string\u003cbr\u003e    type   = string\u003cbr\u003e    target = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_type\"\u003e\u003c/a\u003e [type](#input\\_type) | Loadbalancer sku size. | `string` | `\"lb11\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_lb_id\"\u003e\u003c/a\u003e [lb\\_id](#output\\_lb\\_id) | The ID of the created loadbalancer. |\n| \u003ca name=\"output_lb_ipv4\"\u003e\u003c/a\u003e [lb\\_ipv4](#output\\_lb\\_ipv4) | The public IP (ipv4) of the created loadbalancer. |\n| \u003ca name=\"output_lb_ipv6\"\u003e\u003c/a\u003e [lb\\_ipv6](#output\\_lb\\_ipv6) | The public IP (ipv6) of the created loadbalancer. |\n| \u003ca name=\"output_services\"\u003e\u003c/a\u003e [services](#output\\_services) | Map of the target loadbalancer services. |\n| \u003ca name=\"output_targets\"\u003e\u003c/a\u003e [targets](#output\\_targets) | Map of the target loadbalancer targets. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## License\n\nApache-2.0 Licensed. See [LICENSE](https://github.com/hegerdes/terraform-hcloud-hetzner-loadbalancer/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhegerdes%2Fterraform-hcloud-hetzner-loadbalancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhegerdes%2Fterraform-hcloud-hetzner-loadbalancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhegerdes%2Fterraform-hcloud-hetzner-loadbalancer/lists"}