On this page
google_compute_router_nats resource
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_natname -
nat_ip_allocate_options -
an array of
google_compute_router_natnat_ip_allocate_option -
nat_ips -
an array of
google_compute_router_natnat_ips -
drain_nat_ips -
an array of
google_compute_router_natdrain_nat_ips -
source_subnetwork_ip_ranges_to_nats -
an array of
google_compute_router_natsource_subnetwork_ip_ranges_to_nat -
subnetworks -
an array of
google_compute_router_natsubnetwork -
min_ports_per_vms -
an array of
google_compute_router_natmin_ports_per_vm -
udp_idle_timeout_secs -
an array of
google_compute_router_natudp_idle_timeout_sec -
icmp_idle_timeout_secs -
an array of
google_compute_router_naticmp_idle_timeout_sec -
tcp_established_idle_timeout_secs -
an array of
google_compute_router_nattcp_established_idle_timeout_sec -
tcp_transitory_idle_timeout_secs -
an array of
google_compute_router_nattcp_transitory_idle_timeout_sec -
log_configs -
an array of
google_compute_router_natlog_config -
routers -
an array of
google_compute_router_natrouter -
regions -
an array of
google_compute_router_natregion
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/