From eda98639daebfd93a1f89a09bfa5d5d85feacec0 Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Sun, 22 Oct 2017 00:17:40 +1300 Subject: [PATCH] Update docs to mark compute_http(s)_health_check as legacy resources See https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks for more info. --- website/docs/r/compute_http_health_check.html.markdown | 4 +++- website/docs/r/compute_https_health_check.html.markdown | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/website/docs/r/compute_http_health_check.html.markdown b/website/docs/r/compute_http_health_check.html.markdown index 49f248fa..12a5ff37 100644 --- a/website/docs/r/compute_http_health_check.html.markdown +++ b/website/docs/r/compute_http_health_check.html.markdown @@ -11,10 +11,12 @@ description: |- Manages an HTTP health check within GCE. This is used to monitor instances behind load balancers. Timeouts or HTTP errors cause the instance to be removed from the pool. For more information, see [the official -documentation](https://cloud.google.com/compute/docs/load-balancing/health-checks) +documentation](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks) and [API](https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks). +~> **Note:** HttpHealthChecks/HTTPSHealthChecks are legacy health checks. The newer [google_compute_health_check](/docs/providers/google/r/compute_health_check.html) should be preferred for all uses except except [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) which still require the legacy HttpHealthChecks. + ## Example Usage ```hcl diff --git a/website/docs/r/compute_https_health_check.html.markdown b/website/docs/r/compute_https_health_check.html.markdown index 64abf5ec..119bed85 100644 --- a/website/docs/r/compute_https_health_check.html.markdown +++ b/website/docs/r/compute_https_health_check.html.markdown @@ -11,10 +11,12 @@ description: |- Manages an HTTPS health check within GCE. This is used to monitor instances behind load balancers. Timeouts or HTTPS errors cause the instance to be removed from the pool. For more information, see [the official -documentation](https://cloud.google.com/compute/docs/load-balancing/health-checks) +documentation](https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks) and [API](https://cloud.google.com/compute/docs/reference/latest/httpsHealthChecks). +~> **Note:** HTTPSHealthChecks/HttpHealthChecks are legacy health checks. The newer [google_compute_health_check](/docs/providers/google/r/compute_health_check.html) should be preferred for all uses except except [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) which still require the legacy HttpHealthChecks. + ## Example Usage ```hcl