From 46dee5aaf6abd55d9b1a48df70f2333456f50014 Mon Sep 17 00:00:00 2001 From: Artsiom Antropau <artsiom.antropau@gcore.com> Date: Thu, 28 Dec 2023 16:54:22 +0100 Subject: [PATCH] GCLOUD2-11717: Fix healthmonitor update --- docs/resources/lblistener.md | 2 +- docs/resources/lbpool.md | 2 +- gcore/resource_gcore_lbpool.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/resources/lblistener.md b/docs/resources/lblistener.md index b92f089e..5682264a 100644 --- a/docs/resources/lblistener.md +++ b/docs/resources/lblistener.md @@ -41,7 +41,7 @@ resource "gcore_lblistener" "listener" { - `loadbalancer_id` (String) - `name` (String) -- `protocol` (String) Available values is 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS' +- `protocol` (String) Available values are 'HTTP', 'HTTPS', 'TCP', 'UDP', 'TERMINATED_HTTPS', 'PROMETHEUS' - `protocol_port` (Number) ### Optional diff --git a/docs/resources/lbpool.md b/docs/resources/lbpool.md index 4064188a..79daef0f 100644 --- a/docs/resources/lbpool.md +++ b/docs/resources/lbpool.md @@ -57,7 +57,7 @@ resource "gcore_lbpool" "pl" { - `lb_algorithm` (String) Available values is 'ROUND_ROBIN', 'LEAST_CONNECTIONS', 'SOURCE_IP', 'SOURCE_IP_PORT' - `name` (String) -- `protocol` (String) Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP' +- `protocol` (String) Available values are 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP', 'PROXY' ### Optional diff --git a/gcore/resource_gcore_lbpool.go b/gcore/resource_gcore_lbpool.go index 0cff4613..2b0ea972 100644 --- a/gcore/resource_gcore_lbpool.go +++ b/gcore/resource_gcore_lbpool.go @@ -129,7 +129,6 @@ func resourceLBPool() *schema.Resource { "health_monitor": &schema.Schema{ Type: schema.TypeList, Optional: true, - Computed: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{