google_compute_health_checks resource
Syntax
A google_compute_health_checks is used to test a Google HealthCheck 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_health_checks(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-health-check' }
its('timeout_secs') { should include '10' }
end
Properties
Properties that can be accessed from the google_compute_health_checks resource:
See google_compute_health_check for more detailed information.
check_interval_secs: an array ofgoogle_compute_health_checkcheck_interval_seccreation_timestamps: an array ofgoogle_compute_health_checkcreation_timestampdescriptions: an array ofgoogle_compute_health_checkdescriptionhealthy_thresholds: an array ofgoogle_compute_health_checkhealthy_thresholdids: an array ofgoogle_compute_health_checkidnames: an array ofgoogle_compute_health_checknametimeout_secs: an array ofgoogle_compute_health_checktimeout_secunhealthy_thresholds: an array ofgoogle_compute_health_checkunhealthy_thresholdtypes: an array ofgoogle_compute_health_checktypehttp_health_checks: an array ofgoogle_compute_health_checkhttp_health_checkhttps_health_checks: an array ofgoogle_compute_health_checkhttps_health_checktcp_health_checks: an array ofgoogle_compute_health_checktcp_health_checkssl_health_checks: an array ofgoogle_compute_health_checkssl_health_checkhttp2_health_checks: an array ofgoogle_compute_health_checkhttp2_health_checkgrpc_health_checks: an array ofgoogle_compute_health_checkgrpc_health_checklog_configs: (Beta only) an array ofgoogle_compute_health_checklog_config
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.