blob: 3b3d3668e959d575c8907a6792666015ee915fdc [file] [log] [blame] [edit]
---
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.