google_compute_external_vpn_gateways resource
Use the google_compute_external_vpn_gateways InSpec audit resource to to test a Google Cloud externalVpnGateway resource.
Examples
describe google_compute_external_vpn_gateways(project: 'chef-gcp-inspec') do
it { should exist }
it { should be_up }
end
Properties
Properties that can be accessed from the google_compute_external_vpn_gateways resource:
See google_compute_external_vpn_gateway for more detailed information.
creation_timestamps: an array ofgoogle_compute_external_vpn_gatewaycreation_timestampredundancy_types: an array ofgoogle_compute_external_vpn_gatewayredundancy_typeinterfaces: an array ofgoogle_compute_external_vpn_gatewayinterfaceslabels: an array ofgoogle_compute_external_vpn_gatewaylabelslabel_fingerprints: an array ofgoogle_compute_external_vpn_gatewaylabel_fingerprintnext_page_tokens: an array ofgoogle_compute_external_vpn_gatewaynext_page_tokendescriptions: an array ofgoogle_compute_external_vpn_gatewaydescriptionids: an array ofgoogle_compute_external_vpn_gatewayidnames: an array ofgoogle_compute_external_vpn_gatewayname
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.