google_compute_http_health_checks resource
Syntax
A google_compute_http_health_checks is used to test a Google HttpHealthCheck resource
Beta Resource
This resource has beta fields available. To retrieve these fields, include beta: true in the constructor for the resource.
Examples
describe google_compute_http_health_checks(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-http-health-check' }
its('timeout_secs') { should include '20' }
its('check_interval_secs') { should include '20' }
end
Properties
Properties that can be accessed from the google_compute_http_health_checks resource:
See google_compute_http_health_check for more detailed information.
check_interval_secs: an array ofgoogle_compute_http_health_checkcheck_interval_seccreation_timestamps: an array ofgoogle_compute_http_health_checkcreation_timestampdescriptions: an array ofgoogle_compute_http_health_checkdescriptionhealthy_thresholds: an array ofgoogle_compute_http_health_checkhealthy_thresholdhosts: an array ofgoogle_compute_http_health_checkhostids: an array ofgoogle_compute_http_health_checkidnames: an array ofgoogle_compute_http_health_checknameports: an array ofgoogle_compute_http_health_checkportrequest_paths: an array ofgoogle_compute_http_health_checkrequest_pathtimeout_secs: an array ofgoogle_compute_http_health_checktimeout_secunhealthy_thresholds: an array ofgoogle_compute_http_health_checkunhealthy_threshold
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where as a block or a method.
GCP permissions
Ensure the Compute Engine API is enabled for the current project.