Merge pull request #615 from danielcompton/deprecate-health-checks

Update docs to mark compute_http(s)_health_check as legacy resources
This commit is contained in:
Paddy 2017-10-27 12:28:48 -07:00 committed by GitHub
commit 57449a88a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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