google_compute_vpn_gateways resource
Use the google_compute_vpn_gateways
InSpec audit resource to to test a Google Cloud VpnGateway resource.
Examples
describe google_compute_vpn_gateways(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_vpn_gateways
resource:
See google_compute_vpn_gateway for more detailed information.
kinds
: an array ofgoogle_compute_vpn_gateway
kindids
: an array ofgoogle_compute_vpn_gateway
idcreation_timestamps
: an array ofgoogle_compute_vpn_gateway
creation_timestampnames
: an array ofgoogle_compute_vpn_gateway
namedescriptions
: an array ofgoogle_compute_vpn_gateway
descriptionregions
: an array ofgoogle_compute_vpn_gateway
regionnetworks
: an array ofgoogle_compute_vpn_gateway
networkself_links
: an array ofgoogle_compute_vpn_gateway
self_linklabels
: an array ofgoogle_compute_vpn_gateway
labelslabel_fingerprints
: an array ofgoogle_compute_vpn_gateway
label_fingerprintvpn_interfaces
: an array ofgoogle_compute_vpn_gateway
vpn_interfacesstack_types
: an array ofgoogle_compute_vpn_gateway
stack_type
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.