title | platform |
---|---|
About the google_compute_health_check_services resource |
gcp |
A google_compute_health_check_services
is used to test a Google HealthCheckService resource
describe google_compute_health_check_services(project: 'chef-gcp-inspec', region: 'us-central1') do
it { should exist }
its('names') { should include 'instance-group-2' }
its('health_status_aggregation_policies') { should include 'NO_AGGREGATION' }
end
Properties that can be accessed from the google_compute_health_check_services
resource:
See google_compute_health_check_service.md for more detailed information
creation_timestamps
: an array ofgoogle_compute_health_check_service
creation_timestampdescriptions
: an array ofgoogle_compute_health_check_service
descriptionids
: an array ofgoogle_compute_health_check_service
idnames
: an array ofgoogle_compute_health_check_service
namehealth_status_aggregation_policies
: an array ofgoogle_compute_health_check_service
health_status_aggregation_policyhealth_checks
: an array ofgoogle_compute_health_check_service
health_checksnetwork_endpoint_groups
: an array ofgoogle_compute_health_check_service
network_endpoint_groupsnotification_endpoints
: an array ofgoogle_compute_health_check_service
notification_endpointsfingerprints
: an array ofgoogle_compute_health_check_service
fingerprintnext_page_tokens
: an array ofgoogle_compute_health_check_service
next_page_token
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.