google_compute_target_vpn_gateways resource
Use the google_compute_target_vpn_gateways InSpec audit resource to to test a Google Cloud TargetVpnGateway resource.
Examples
describe google_compute_target_vpn_gateways(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_target_vpn_gateways resource:
See google_compute_target_vpn_gateway for more detailed information.
kinds: an array ofgoogle_compute_target_vpn_gatewaykindids: an array ofgoogle_compute_target_vpn_gatewayidcreation_timestamps: an array ofgoogle_compute_target_vpn_gatewaycreation_timestampnames: an array ofgoogle_compute_target_vpn_gatewaynamedescriptions: an array ofgoogle_compute_target_vpn_gatewaydescriptionregions: an array ofgoogle_compute_target_vpn_gatewayregionnetworks: an array ofgoogle_compute_target_vpn_gatewaynetworktunnels: an array ofgoogle_compute_target_vpn_gatewaytunnelsstatuses: an array ofgoogle_compute_target_vpn_gatewaystatusself_links: an array ofgoogle_compute_target_vpn_gatewayself_linkforwarding_rules: an array ofgoogle_compute_target_vpn_gatewayforwarding_ruleslabels: an array ofgoogle_compute_target_vpn_gatewaylabelslabel_fingerprints: an array ofgoogle_compute_target_vpn_gatewaylabel_fingerprint
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.