title | platform |
---|---|
About the google_compute_health_checks resource |
gcp |
A google_compute_health_checks
is used to test a Google HealthCheck resource
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 that can be accessed from the google_compute_health_checks
resource:
See google_compute_health_check.md for more detailed information
check_interval_secs
: an array ofgoogle_compute_health_check
check_interval_seccreation_timestamps
: an array ofgoogle_compute_health_check
creation_timestampdescriptions
: an array ofgoogle_compute_health_check
descriptionhealthy_thresholds
: an array ofgoogle_compute_health_check
healthy_thresholdids
: an array ofgoogle_compute_health_check
idnames
: an array ofgoogle_compute_health_check
nametimeout_secs
: an array ofgoogle_compute_health_check
timeout_secunhealthy_thresholds
: an array ofgoogle_compute_health_check
unhealthy_thresholdtypes
: an array ofgoogle_compute_health_check
typehttp_health_checks
: an array ofgoogle_compute_health_check
http_health_checkhttps_health_checks
: an array ofgoogle_compute_health_check
https_health_checktcp_health_checks
: an array ofgoogle_compute_health_check
tcp_health_checkssl_health_checks
: an array ofgoogle_compute_health_check
ssl_health_check
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Compute Engine API is enabled for the current project.