From e1c8603ef17f6ac528ffbc3b16d28eb60a969ba6 Mon Sep 17 00:00:00 2001 From: Sebastian Plattner Date: Wed, 6 May 2026 14:18:27 +0200 Subject: [PATCH 1/2] name field does not exist for cloudscale lb health monitor --- content/en/docs/06_cloudscale/5-load-balancer.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/en/docs/06_cloudscale/5-load-balancer.md b/content/en/docs/06_cloudscale/5-load-balancer.md index 7bbd3eed..9327d166 100644 --- a/content/en/docs/06_cloudscale/5-load-balancer.md +++ b/content/en/docs/06_cloudscale/5-load-balancer.md @@ -61,7 +61,6 @@ resource "cloudscale_load_balancer_pool_member" "web" { } resource "cloudscale_load_balancer_health_monitor" "web" { - name = "${local.prefix}-healthcheck" pool_uuid = cloudscale_load_balancer_pool.web.id type = "http" http_url_path = "/" From 4241496b66c394e414d7b747b196bbcbc7afb532 Mon Sep 17 00:00:00 2001 From: Sebastian Plattner Date: Wed, 6 May 2026 14:26:28 +0200 Subject: [PATCH 2/2] fix grep --- content/en/docs/06_cloudscale/5-load-balancer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/06_cloudscale/5-load-balancer.md b/content/en/docs/06_cloudscale/5-load-balancer.md index 9327d166..77bad88d 100644 --- a/content/en/docs/06_cloudscale/5-load-balancer.md +++ b/content/en/docs/06_cloudscale/5-load-balancer.md @@ -175,7 +175,7 @@ each one: ```bash LB_IP=$(terraform output -raw lb_public_ip) for i in {1..6}; do - curl -s "http://${LB_IP}" | grep -o 'Hostname:[^<]*' + curl -s "http://${LB_IP}" | grep -oP '(?<=Hostname: )[^<]+' done ``` @@ -204,7 +204,7 @@ connection (keep-alive). Force a new connection each time: ```bash LB_IP=$(terraform output -raw lb_public_ip) for i in {1..6}; do - curl -s --no-keepalive "http://${LB_IP}" | grep -o 'Hostname:[^<]*' + curl -s --no-keepalive "http://${LB_IP}" | grep -oP '(?<=Hostname: )[^<]+' done ```