Skip to content

Commit 15efb77

Browse files
authored
docs(lb): clarify health check URI description (#2985)
1 parent 3c662c7 commit 15efb77

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/data-sources/lb_backends.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ In addition to all arguments above, the following attributes are exported:
5858
- `health_check_max_retries` - Number of allowed failed health check requests before the backend server is marked as down.
5959
- `health_check_tcp` - This block enables TCP health checks.
6060
- `health_check_http` - This block enables HTTP health checks.
61-
- `uri` - The HTTP endpoint URL to call for health check requests.
61+
- `uri` - The path of health check requests.
6262
- `method` - The HTTP method to use for health check requests.
6363
- `code` - The expected HTTP status code.
6464
- `host_header` - The HTTP host header to use for health check requests.
6565
- `health_check_https` - This block enables HTTPS health checks.
66-
- `uri` - The HTTPS endpoint URL to call for health check requests.
66+
- `uri` - The path of health check requests.
6767
- `method` - The HTTP method to use for health check requests.
6868
- `code` - The expected HTTP status code.
6969
- `host_header` - The HTTP host header to use for health check requests.

docs/resources/lb_backend.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "scaleway_lb_backend" "backend01" {
3232
forward_port = "80"
3333
3434
health_check_http {
35-
uri = "www.test.com/health"
35+
uri = "/health"
3636
}
3737
}
3838
```
@@ -79,12 +79,12 @@ You may use one of the following health check types: `TCP`, `HTTP` or `HTTPS`. (
7979
- `health_check_max_retries` - (Default: `2`) Number of allowed failed health check requests before the backend server is marked as down.
8080
- `health_check_tcp` - (Optional) This block enables TCP health checks. Only one of `health_check_tcp`, `health_check_http` and `health_check_https` should be specified.
8181
- `health_check_http` - (Optional) This block enables HTTP health checks. Only one of `health_check_tcp`, `health_check_http` and `health_check_https` should be specified.
82-
- `uri` - (Required) The HTTP endpoint URL to call for health check requests.
82+
- `uri` - (Required) The path for health check requests.
8383
- `method` - (Default: `GET`) The HTTP method to use for health check requests.
8484
- `code` - (Default: `200`) The expected HTTP status code.
8585
- `host_header` - (Optional) The HTTP host header to use for health check requests.
8686
- `health_check_https` - (Optional) This block enable HTTPS health checks. Only one of `health_check_tcp`, `health_check_http` and `health_check_https` should be specified.
87-
- `uri` - (Required) The HTTPS endpoint URL to call for health check requests.
87+
- `uri` - (Required) The path for health check requests.
8888
- `method` - (Default: `GET`) The HTTP method to use for health check requests.
8989
- `code` - (Default: `200`) The expected HTTP status code.
9090
- `host_header` - (Optional) The HTTP host header to use for health check requests.

0 commit comments

Comments
 (0)