google_compute_router_natNivis Nix constructor for the google_compute_router_nat resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
router,
source_subnetwork_ip_ranges_to_nat,
auto_network_tier ? null,
deletion_policy ? null,
drain_nat_ips ? null,
enable_dynamic_port_allocation ? null,
enable_endpoint_independent_mapping ? null,
endpoint_types ? null,
icmp_idle_timeout_sec ? null,
id ? null,
initial_nat_ips ? null,
max_ports_per_vm ? null,
min_ports_per_vm ? null,
cfg_name ? null,
nat_ip_allocate_option ? null,
nat_ips ? null,
project ? null,
region ? null,
source_subnetwork_ip_ranges_to_nat64 ? null,
tcp_established_idle_timeout_sec ? null,
tcp_time_wait_timeout_sec ? null,
tcp_transitory_idle_timeout_sec ? null,
type ? null,
udp_idle_timeout_sec ? null,
log_config ? null,
nat64_subnetwork ? null,
rules ? null,
subnetwork ? null,
timeouts ? null,
overrides ? {}
}Required arguments
routersource_subnetwork_ip_ranges_to_nat
Optional arguments
auto_network_tier(defaults tonull)deletion_policy(defaults tonull)drain_nat_ips(defaults tonull)enable_dynamic_port_allocation(defaults tonull)enable_endpoint_independent_mapping(defaults tonull)endpoint_types(defaults tonull)icmp_idle_timeout_sec(defaults tonull)id(defaults tonull)initial_nat_ips(defaults tonull)max_ports_per_vm(defaults tonull)min_ports_per_vm(defaults tonull)cfg_name(defaults tonull)nat_ip_allocate_option(defaults tonull)nat_ips(defaults tonull)project(defaults tonull)region(defaults tonull)source_subnetwork_ip_ranges_to_nat64(defaults tonull)tcp_established_idle_timeout_sec(defaults tonull)tcp_time_wait_timeout_sec(defaults tonull)tcp_transitory_idle_timeout_sec(defaults tonull)type(defaults tonull)udp_idle_timeout_sec(defaults tonull)log_config(defaults tonull)nat64_subnetwork(defaults tonull)rules(defaults tonull)subnetwork(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
google_compute_router_nat {
name = "compute_router_nat";
router = …; # required
source_subnetwork_ip_ranges_to_nat = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.