{"id":21901367,"url":"https://github.com/zoro16/terraform-hcloud-load-balancer","last_synced_at":"2025-10-27T09:51:10.471Z","repository":{"id":196496314,"uuid":"695624654","full_name":"zoro16/terraform-hcloud-load-balancer","owner":"zoro16","description":"Terraform module to provision `Load Balancer` resources in Hetzner Cloud.","archived":false,"fork":false,"pushed_at":"2025-01-23T19:45:11.000Z","size":18,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T20:29:39.835Z","etag":null,"topics":["hetzner","hetzner-cloud","hetzner-load-balancer","terraform-hcloud-load-balancer","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/zoro16/load-balancer/hcloud/latest","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/zoro16.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-23T18:27:22.000Z","updated_at":"2025-01-23T18:22:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a668a13-975b-4f6e-81be-d0b780f8e243","html_url":"https://github.com/zoro16/terraform-hcloud-load-balancer","commit_stats":null,"previous_names":["zoro16/terraform-hcloud-load-balancer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-load-balancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-load-balancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-load-balancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-load-balancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoro16","download_url":"https://codeload.github.com/zoro16/terraform-hcloud-load-balancer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235813529,"owners_count":19048987,"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":["hetzner","hetzner-cloud","hetzner-load-balancer","terraform-hcloud-load-balancer","terraform-module"],"created_at":"2024-11-28T15:13:19.308Z","updated_at":"2025-10-09T10:32:12.185Z","avatar_url":"https://github.com/zoro16.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nTerraform module to provision `Load Balancer` resources in Hetzner Cloud.\n\n\n\n\n## Usage\n\n```hcl\n# Configure the Hetzner Cloud Provider\nprovider \"hcloud\" {\n  token = var.hcloud_token\n}\n\nmodule \"net\" {\n  source  = \"zoro16/network/hcloud\"\n  version = \"1.0.0\"\n\n  create_network = true\n\n  network_name                     = \"example-network\"\n  network_ip_cidr_range            = \"10.100.0.0/16\"\n  network_delete_protection        = false\n  network_expose_routes_to_vswitch = false\n  network_labels = {\n    name        = \"example-network\"\n    environment = \"dev\"\n  }\n  create_subnet        = true\n  subnet_type          = \"cloud\"\n  subnet_ip_cidr_range = \"10.100.0.0/24\"\n  subnet_network_zone  = \"eu-central\"\n  subnet_network_id    = module.net.network_id\n}\n\n\nmodule \"sv1\" {\n  source  = \"zoro16/server/hcloud\"\n  version = \"1.0.0\"\n\n  create_server = true\n\n  server_name          = \"sv1\"\n  placement_group_name = \"sv1\"\n  labels = {\n    environment = \"dev\"\n    product     = \"lb-servers\"\n  }\n}\n\nmodule \"lb\" {\n  source = \"../../\"\n\n  create_load_balancer = true\n\n  load_balancer_name     = \"my-lb\"\n  load_balancer_type     = \"lb11\"\n  load_balancer_location = \"nbg1\"\n  # load_balancer_network_zone = \"eu-central\"\n  load_balancer_algorithm_type    = \"least_connections\"\n  load_balancer_delete_protection = false\n  load_balancer_labels = {\n    type        = \"demo\"\n    environment = \"dev\"\n  }\n\n  create_load_balancer_network           = true\n  load_balancer_network_load_balancer_id = module.lb.load_balancer_id\n  # load_balancer_network_network_id = module.net.network_id\n  # load_balancer_network_ip = \"10.100.1.5\"\n  load_balancer_network_subnet_id               = module.net.subnet_id\n  load_balancer_network_enable_public_interface = true\n\n\n  create_load_balancer_target           = true\n  load_balancer_target_type             = \"label_selector\"\n  load_balancer_target_load_balancer_id = module.lb.load_balancer_id\n  # load_balancer_target_server_id = module.sv1.server_id\n  load_balancer_target_label_selector = \"product=lb-servers\"\n  # load_balancer_target_ip = \"142.142.142.142\"\n  # load_balancer_target_use_private_ip = true\n\n  create_load_balancer_service           = true\n  load_balancer_service_load_balancer_id = module.lb.load_balancer_id\n  load_balancer_service_protocol         = \"http\"\n  load_balancer_service_listen_port      = 80\n  load_balancer_service_destination_port = 80\n  load_balancer_service_proxyprotocol    = false\n  load_balancer_service_http = [\n    {\n      sticky_sessions = false\n      cookie_name     = \"HCLBSTICKY\"\n      cookie_lifetime = 300\n      certificates    = []\n      redirect_http   = false\n    }\n  ]\n  load_balancer_service_health_check = [\n    {\n      protocol = \"http\"\n      port     = 80\n      interval = 5\n      timeout  = 10\n      retries  = 10\n      http = [\n        {\n          domain       = \"example.com\"\n          path         = \"/healthz\"\n          response     = \"Ok\"\n          tls          = false\n          status_codes = [\"200\", \"201\"]\n        }\n      ]\n    }\n  ]\n\n}\n```\n\n\n\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.2.0 |\n| \u003ca name=\"requirement_hcloud\"\u003e\u003c/a\u003e [hcloud](#requirement\\_hcloud) | \u003e= 1.49.1 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_hcloud\"\u003e\u003c/a\u003e [hcloud](#provider\\_hcloud) | \u003e= 1.49.1 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [hcloud_load_balancer.load_balancer](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer) | resource |\n| [hcloud_load_balancer_network.lb_net](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer_network) | resource |\n| [hcloud_load_balancer_service.lb_service](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/load_balancer_service) | resource |\n| [hcloud_load_balancer_target.lb_target](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_create_load_balancer\"\u003e\u003c/a\u003e [create\\_load\\_balancer](#input\\_create\\_load\\_balancer) | Whether to create a Load Balancer or not. | `bool` | `false` | no |\n| \u003ca name=\"input_create_load_balancer_network\"\u003e\u003c/a\u003e [create\\_load\\_balancer\\_network](#input\\_create\\_load\\_balancer\\_network) | Whether to create a Load Balancer Network or not. | `bool` | `false` | no |\n| \u003ca name=\"input_create_load_balancer_service\"\u003e\u003c/a\u003e [create\\_load\\_balancer\\_service](#input\\_create\\_load\\_balancer\\_service) | Whether to create a Load Balancer Service or not. | `bool` | `false` | no |\n| \u003ca name=\"input_create_load_balancer_target\"\u003e\u003c/a\u003e [create\\_load\\_balancer\\_target](#input\\_create\\_load\\_balancer\\_target) | Whether to create a Load Balancer Target or not. | `bool` | `false` | no |\n| \u003ca name=\"input_load_balancer_algorithm_type\"\u003e\u003c/a\u003e [load\\_balancer\\_algorithm\\_type](#input\\_load\\_balancer\\_algorithm\\_type) | Configuration of the algorithm the Load Balancer use.\u003cbr/\u003ealgorithm support the following fields:\u003cbr/\u003e    type - (Required, string) Type of the Load Balancer Algorithm. round\\_robin or least\\_connections | `string` | `\"round_robin\"` | no |\n| \u003ca name=\"input_load_balancer_delete_protection\"\u003e\u003c/a\u003e [load\\_balancer\\_delete\\_protection](#input\\_load\\_balancer\\_delete\\_protection) | Enable or disable delete protection. | `bool` | `false` | no |\n| \u003ca name=\"input_load_balancer_labels\"\u003e\u003c/a\u003e [load\\_balancer\\_labels](#input\\_load\\_balancer\\_labels) | User-defined labels (key-value pairs) should be created with. | `map(any)` | `{}` | no |\n| \u003ca name=\"input_load_balancer_location\"\u003e\u003c/a\u003e [load\\_balancer\\_location](#input\\_load\\_balancer\\_location) | The location name of the Load Balancer. Require when no network\\_zone is set. | `string` | `\"nbg1-dc3\"` | no |\n| \u003ca name=\"input_load_balancer_name\"\u003e\u003c/a\u003e [load\\_balancer\\_name](#input\\_load\\_balancer\\_name) | Name of the Load Balancer. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_network_enable_public_interface\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_enable\\_public\\_interface](#input\\_load\\_balancer\\_network\\_enable\\_public\\_interface) | Enable or disable the Load Balancers public interface. | `bool` | `true` | no |\n| \u003ca name=\"input_load_balancer_network_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_ip](#input\\_load\\_balancer\\_network\\_ip) | IP to request to be assigned to this Load Balancer. If you do not provide this then you will be auto assigned an IP address. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_network_load_balancer_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_load\\_balancer\\_id](#input\\_load\\_balancer\\_network\\_load\\_balancer\\_id) | ID of the Load Balancer. | `number` | `null` | no |\n| \u003ca name=\"input_load_balancer_network_network_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_network\\_id](#input\\_load\\_balancer\\_network\\_network\\_id) | ID of the network which should be added to the Load Balancer. Required if `subnet_id` is not set. Successful creation of the resource depends on the existence of a subnet in the Hetzner Cloud Backend. Using `network_id` will not create an explicit dependency between the Load Balancer and the subnet. Therefore `depends_on` may need to be used. Alternatively the `subnet_id` property can be used, which will create an explicit dependency between `hcloud_load_balancer_network` and the existence of a subnet. | `number` | `null` | no |\n| \u003ca name=\"input_load_balancer_network_subnet_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_subnet\\_id](#input\\_load\\_balancer\\_network\\_subnet\\_id) | ID of the sub-network which should be added to the Load Balancer. Required if `network_id` is not set. Note: if the `ip` property is missing, the Load Balancer is currently added to the last created subnet. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_network_zone\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_zone](#input\\_load\\_balancer\\_network\\_zone) | The Network Zone of the Load Balancer. Require when no location is set. | `string` | `\"eu-central\"` | no |\n| \u003ca name=\"input_load_balancer_service_destination_port\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_destination\\_port](#input\\_load\\_balancer\\_service\\_destination\\_port) | Port the service connects to the targets on, required if protocol is tcp. Can be everything between 1 and 65535. | `number` | `80` | no |\n| \u003ca name=\"input_load_balancer_service_health_check\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_health\\_check](#input\\_load\\_balancer\\_service\\_health\\_check) | List of health check configurations when protocol is http or https. | \u003cpre\u003elist(object({\u003cbr/\u003e    # (Required) Protocol the health check uses. http or tcp\u003cbr/\u003e    protocol = optional(string)\u003cbr/\u003e\u003cbr/\u003e    # (Required) Port the health check tries to connect to, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer.\u003cbr/\u003e    port = optional(number)\u003cbr/\u003e\u003cbr/\u003e    # (Required)Interval how often the health check will be performed, in seconds.\u003cbr/\u003e    interval = optional(number)\u003cbr/\u003e\u003cbr/\u003e    # (Required) Timeout when a health check try will be canceled if there is no response, in seconds.\u003cbr/\u003e    timeout = optional(number)\u003cbr/\u003e\u003cbr/\u003e    # Number of tries a health check will be performed until a target will be listed as unhealthy.\u003cbr/\u003e    retries = optional(number)\u003cbr/\u003e\u003cbr/\u003e    # List of http configurations. Required if protocol is http.\u003cbr/\u003e    http = optional(list(object({\u003cbr/\u003e      # Domain we try to access when performing the Health Check.\u003cbr/\u003e      domain = optional(string)\u003cbr/\u003e\u003cbr/\u003e      # Path we try to access when performing the Health Check.\u003cbr/\u003e      path = optional(string)\u003cbr/\u003e\u003cbr/\u003e      # Response we expect to be included in the Target response when a Health Check was performed.\u003cbr/\u003e      response = optional(string)\u003cbr/\u003e\u003cbr/\u003e      # Enable TLS certificate checking.\u003cbr/\u003e      tls = optional(bool)\u003cbr/\u003e\u003cbr/\u003e      # We expect that the target answers with these status codes. If not the target is marked as unhealthy.\u003cbr/\u003e      status_codes = optional(list(string))\u003cbr/\u003e    })))\u003cbr/\u003e\u003cbr/\u003e  }))\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_load_balancer_service_http\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_http](#input\\_load\\_balancer\\_service\\_http) | List of http configurations when protocol is http or https. | \u003cpre\u003elist(object({\u003cbr/\u003e    # Enable sticky sessions\u003cbr/\u003e    sticky_sessions = optional(bool)\u003cbr/\u003e\u003cbr/\u003e    # Name of the cookie for sticky session. Default: HCLBSTICKY\u003cbr/\u003e    cookie_name = optional(string)\u003cbr/\u003e\u003cbr/\u003e    # Lifetime of the cookie for sticky session (in seconds). Default: 300\u003cbr/\u003e    cookie_lifetime = optional(number)\u003cbr/\u003e\u003cbr/\u003e    # List of IDs from certificates which the Load Balancer has.\u003cbr/\u003e    certificates = optional(list(number))\u003cbr/\u003e\u003cbr/\u003e    # Redirect HTTP to HTTPS traffic. Only supported for services with protocol https using the default HTTP port 80.\u003cbr/\u003e    redirect_http = optional(bool)\u003cbr/\u003e\u003cbr/\u003e  }))\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_load_balancer_service_listen_port\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_listen\\_port](#input\\_load\\_balancer\\_service\\_listen\\_port) | Port the service listen on, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. | `number` | `80` | no |\n| \u003ca name=\"input_load_balancer_service_load_balancer_id\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_load\\_balancer\\_id](#input\\_load\\_balancer\\_service\\_load\\_balancer\\_id) | Id of the load balancer this service belongs to. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_service_protocol\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_protocol](#input\\_load\\_balancer\\_service\\_protocol) | Protocol of the service. http, https or tcp | `string` | `\"http\"` | no |\n| \u003ca name=\"input_load_balancer_service_proxyprotocol\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_proxyprotocol](#input\\_load\\_balancer\\_service\\_proxyprotocol) | Whether to enable proxyprotocol or not. | `bool` | `false` | no |\n| \u003ca name=\"input_load_balancer_target_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_ip](#input\\_load\\_balancer\\_target\\_ip) | IP address for an IP Target. Required if type is ip. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_target_label_selector\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_label\\_selector](#input\\_load\\_balancer\\_target\\_label\\_selector) | Label Selector selecting targets for this Load Balancer. Required if type is label\\_selector. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_target_load_balancer_id\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_load\\_balancer\\_id](#input\\_load\\_balancer\\_target\\_load\\_balancer\\_id) | ID of the Load Balancer to which the target gets attached. | `string` | `null` | no |\n| \u003ca name=\"input_load_balancer_target_server_id\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_server\\_id](#input\\_load\\_balancer\\_target\\_server\\_id) | ID of the server which should be a target for this Load Balancer. Required if type is server | `number` | `null` | no |\n| \u003ca name=\"input_load_balancer_target_type\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_type](#input\\_load\\_balancer\\_target\\_type) | Type of the target. Possible values `server`, `label_selector`, `ip`.\"\u003cbr/\u003e`server` =\u003e VM Server\u003cbr/\u003e`label_selector` =\u003e All servers that match this label query will be used as a target.\u003cbr/\u003e`ip` =\u003e Dedicated Server (root) IP address | `string` | `\"server\"` | no |\n| \u003ca name=\"input_load_balancer_target_use_private_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_use\\_private\\_ip](#input\\_load\\_balancer\\_target\\_use\\_private\\_ip) | Use the private IP to connect to Load Balancer targets. Only allowed if type is server or label\\_selector. | `bool` | `null` | no |\n| \u003ca name=\"input_load_balancer_type\"\u003e\u003c/a\u003e [load\\_balancer\\_type](#input\\_load\\_balancer\\_type) | Type of the Load Balancer. | `string` | `\"lb11\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_load_balancer_algorithm\"\u003e\u003c/a\u003e [load\\_balancer\\_algorithm](#output\\_load\\_balancer\\_algorithm) | Configuration of the algorithm the Load Balancer use. |\n| \u003ca name=\"output_load_balancer_delete_protection\"\u003e\u003c/a\u003e [load\\_balancer\\_delete\\_protection](#output\\_load\\_balancer\\_delete\\_protection) | Enable or disable delete protection. |\n| \u003ca name=\"output_load_balancer_first_network_id\"\u003e\u003c/a\u003e [load\\_balancer\\_first\\_network\\_id](#output\\_load\\_balancer\\_first\\_network\\_id) | ID of the first private network that this Load Balancer is connected to. |\n| \u003ca name=\"output_load_balancer_first_network_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_first\\_network\\_ip](#output\\_load\\_balancer\\_first\\_network\\_ip) | IP of the Load Balancer in the first private network that it is connected to. |\n| \u003ca name=\"output_load_balancer_id\"\u003e\u003c/a\u003e [load\\_balancer\\_id](#output\\_load\\_balancer\\_id) | Unique ID of the Load Balancer. |\n| \u003ca name=\"output_load_balancer_ipv4\"\u003e\u003c/a\u003e [load\\_balancer\\_ipv4](#output\\_load\\_balancer\\_ipv4) | IPv4 Address of the Load Balancer. |\n| \u003ca name=\"output_load_balancer_ipv6\"\u003e\u003c/a\u003e [load\\_balancer\\_ipv6](#output\\_load\\_balancer\\_ipv6) | IPv6 Address of the Load Balancer. |\n| \u003ca name=\"output_load_balancer_labels\"\u003e\u003c/a\u003e [load\\_balancer\\_labels](#output\\_load\\_balancer\\_labels) | User-defined labels (key-value pairs) should be created with. |\n| \u003ca name=\"output_load_balancer_location\"\u003e\u003c/a\u003e [load\\_balancer\\_location](#output\\_load\\_balancer\\_location) | The location name of the Load Balancer. Require when no network\\_zone is set. |\n| \u003ca name=\"output_load_balancer_name\"\u003e\u003c/a\u003e [load\\_balancer\\_name](#output\\_load\\_balancer\\_name) | Name of the Load Balancer. |\n| \u003ca name=\"output_load_balancer_network_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_id](#output\\_load\\_balancer\\_network\\_id) | ID of the Load Balancer network. |\n| \u003ca name=\"output_load_balancer_network_load_balancer_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_load\\_balancer\\_id](#output\\_load\\_balancer\\_network\\_load\\_balancer\\_id) | ID of the Load Balancer. |\n| \u003ca name=\"output_load_balancer_network_network_id\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_network\\_id](#output\\_load\\_balancer\\_network\\_network\\_id) | ID of the network. |\n| \u003ca name=\"output_load_balancer_network_network_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_network\\_network\\_ip](#output\\_load\\_balancer\\_network\\_network\\_ip) | IP assigned to this Load Balancer. |\n| \u003ca name=\"output_load_balancer_service_destination_port\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_destination\\_port](#output\\_load\\_balancer\\_service\\_destination\\_port) | Port the service connects to the targets on, required if protocol is tcp. Can be everything between 1 and 65535. |\n| \u003ca name=\"output_load_balancer_service_health_check\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_health\\_check](#output\\_load\\_balancer\\_service\\_health\\_check) | List of health check configurations when protocol is http or https. |\n| \u003ca name=\"output_load_balancer_service_http\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_http](#output\\_load\\_balancer\\_service\\_http) | List of http configurations when protocol is http or https. |\n| \u003ca name=\"output_load_balancer_service_listen_port\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_listen\\_port](#output\\_load\\_balancer\\_service\\_listen\\_port) | Port the service listen on, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. |\n| \u003ca name=\"output_load_balancer_service_protocol\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_protocol](#output\\_load\\_balancer\\_service\\_protocol) | Protocol of the service. http, https or tcp |\n| \u003ca name=\"output_load_balancer_service_proxyprotocol\"\u003e\u003c/a\u003e [load\\_balancer\\_service\\_proxyprotocol](#output\\_load\\_balancer\\_service\\_proxyprotocol) | Whether to enable proxyprotocol or not. |\n| \u003ca name=\"output_load_balancer_target_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_ip](#output\\_load\\_balancer\\_target\\_ip) | IP address for an IP Target. Required if type is ip. |\n| \u003ca name=\"output_load_balancer_target_label_selector\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_label\\_selector](#output\\_load\\_balancer\\_target\\_label\\_selector) | Label Selector selecting targets for this Load Balancer. Required if type is label\\_selector. |\n| \u003ca name=\"output_load_balancer_target_server_id\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_server\\_id](#output\\_load\\_balancer\\_target\\_server\\_id) | ID of the server which should be a target for this Load Balancer. Required if type is server |\n| \u003ca name=\"output_load_balancer_target_type\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_type](#output\\_load\\_balancer\\_target\\_type) | Type of the target. Possible values `server`, `label_selector`, `ip`. |\n| \u003ca name=\"output_load_balancer_target_use_private_ip\"\u003e\u003c/a\u003e [load\\_balancer\\_target\\_use\\_private\\_ip](#output\\_load\\_balancer\\_target\\_use\\_private\\_ip) | Use the private IP to connect to Load Balancer targets. Only allowed if type is server or label\\_selector. |\n| \u003ca name=\"output_load_balancer_type\"\u003e\u003c/a\u003e [load\\_balancer\\_type](#output\\_load\\_balancer\\_type) | Type of the Load Balancer. |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoro16%2Fterraform-hcloud-load-balancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoro16%2Fterraform-hcloud-load-balancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoro16%2Fterraform-hcloud-load-balancer/lists"}