google_compute_https_health_checks resource
Syntax
A google_compute_https_health_checks
is used to test a Google HttpsHealthCheck 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_https_health_checks(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-https-health-check' }
its('timeout_secs') { should include '15' }
its('check_interval_secs') { should include '15' }
end
Properties
Properties that can be accessed from the google_compute_https_health_checks
resource:
See google_compute_https_health_check for more detailed information.
check_interval_secs
: an array ofgoogle_compute_https_health_check
check_interval_seccreation_timestamps
: an array ofgoogle_compute_https_health_check
creation_timestampdescriptions
: an array ofgoogle_compute_https_health_check
descriptionhealthy_thresholds
: an array ofgoogle_compute_https_health_check
healthy_thresholdhosts
: an array ofgoogle_compute_https_health_check
hostids
: an array ofgoogle_compute_https_health_check
idnames
: an array ofgoogle_compute_https_health_check
nameports
: an array ofgoogle_compute_https_health_check
portrequest_paths
: an array ofgoogle_compute_https_health_check
request_pathtimeout_secs
: an array ofgoogle_compute_https_health_check
timeout_secunhealthy_thresholds
: an array ofgoogle_compute_https_health_check
unhealthy_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.