title | platform |
---|---|
About the google_compute_vpn_tunnels resource |
gcp |
A google_compute_vpn_tunnels
is used to test a Google VpnTunnel resource
describe google_compute_vpn_tunnels(project: 'chef-gcp-inspec', region: 'europe-west2') do
its('vpn_tunnel_names') { should include 'inspec-vpn-tunnel' }
its('peer_ips') { should include '15.0.0.120' }
end
Properties that can be accessed from the google_compute_vpn_tunnels
resource:
See google_compute_vpn_tunnel.md for more detailed information
ids
: an array ofgoogle_compute_vpn_tunnel
idcreation_timestamps
: an array ofgoogle_compute_vpn_tunnel
creation_timestampvpn_tunnel_names
: an array ofgoogle_compute_vpn_tunnel
namedescriptions
: an array ofgoogle_compute_vpn_tunnel
descriptiontarget_vpn_gateways
: an array ofgoogle_compute_vpn_tunnel
target_vpn_gatewayrouters
: an array ofgoogle_compute_vpn_tunnel
routerpeer_ips
: an array ofgoogle_compute_vpn_tunnel
peer_ipshared_secrets
: an array ofgoogle_compute_vpn_tunnel
shared_secretshared_secret_hashes
: an array ofgoogle_compute_vpn_tunnel
shared_secret_hashike_versions
: an array ofgoogle_compute_vpn_tunnel
ike_versionlocal_traffic_selectors
: an array ofgoogle_compute_vpn_tunnel
local_traffic_selectorremote_traffic_selectors
: an array ofgoogle_compute_vpn_tunnel
remote_traffic_selectorregions
: an array ofgoogle_compute_vpn_tunnel
region
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.