google_compute_interconnect_locations resource
Use the google_compute_interconnect_locations InSpec audit resource to to test a Google Cloud InterconnectLocation resource.
Examples
describe google_compute_interconnect_locations(project: 'chef-gcp-inspec') do
its('names') { should include 'akl-zone1-1353' }
its('facility_provider_facility_ids') { should include 'Auckland - Albany' }
end
Properties
Properties that can be accessed from the google_compute_interconnect_locations resource:
See google_compute_interconnect_location for more detailed information.
creation_timestamps: an array ofgoogle_compute_interconnect_locationcreation_timestampdescriptions: an array ofgoogle_compute_interconnect_locationdescriptionids: an array ofgoogle_compute_interconnect_locationidnames: an array ofgoogle_compute_interconnect_locationnameavailability_zones: an array ofgoogle_compute_interconnect_locationavailability_zoneclient_operation_ids: an array ofgoogle_compute_interconnect_locationclient_operation_idfacility_providers: an array ofgoogle_compute_interconnect_locationfacility_providerfacility_provider_facility_ids: an array ofgoogle_compute_interconnect_locationfacility_provider_facility_idstatuses: an array ofgoogle_compute_interconnect_locationstatus
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.