blob: 2dc8cd17fe12102565ab5ed4d4e0c026ab4f9a9c [file] [log] [blame]
---
subcategory: "Compute Engine"
description: |-
Get information about a HealthCheck.
---
# google\_compute\_health\_check
Get information about a HealthCheck.
## Example Usage
```tf
data "google_compute_health_check" "health_check" {
name = "my-hc"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) Name of the resource.
- - -
* `project` - (Optional) The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.
## Attributes Reference
See [google_compute_health_check](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_health_check) resource for details of the available attributes.