google_compute_router_nats resource

[edit on GitHub]

Syntax

A google_compute_router_nats is used to test a Google RouterNat resource

Beta Resource

This resource has beta fields available. To retrieve these fields, include beta: true in the constructor for the resource

Examples

describe google_compute_router_nats(project: 'chef-gcp-inspec', region: 'europe-west2', router: 'inspec-gcp-router') do
  its('names') { should include 'inspec-router-nat' }
end

Properties

Properties that can be accessed from the google_compute_router_nats resource:

See the google_compute_router_nat resource for more information.

names
an array of google_compute_router_nat name
nat_ip_allocate_options
an array of google_compute_router_nat nat_ip_allocate_option
nat_ips
an array of google_compute_router_nat nat_ips
drain_nat_ips
an array of google_compute_router_nat drain_nat_ips
source_subnetwork_ip_ranges_to_nats
an array of google_compute_router_nat source_subnetwork_ip_ranges_to_nat
subnetworks
an array of google_compute_router_nat subnetwork
min_ports_per_vms
an array of google_compute_router_nat min_ports_per_vm
udp_idle_timeout_secs
an array of google_compute_router_nat udp_idle_timeout_sec
icmp_idle_timeout_secs
an array of google_compute_router_nat icmp_idle_timeout_sec
tcp_established_idle_timeout_secs
an array of google_compute_router_nat tcp_established_idle_timeout_sec
tcp_transitory_idle_timeout_secs
an array of google_compute_router_nat tcp_transitory_idle_timeout_sec
log_configs
an array of google_compute_router_nat log_config
routers
an array of google_compute_router_nat router
regions
an array of google_compute_router_nat region

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.

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_compute_router_nats/