google_compute_router_nat

Nivis Nix constructor for the google_compute_router_nat resource (provider google). 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
  • router
  • source_subnetwork_ip_ranges_to_nat
Optional arguments
  • auto_network_tier (defaults to null)
  • deletion_policy (defaults to null)
  • drain_nat_ips (defaults to null)
  • enable_dynamic_port_allocation (defaults to null)
  • enable_endpoint_independent_mapping (defaults to null)
  • endpoint_types (defaults to null)
  • icmp_idle_timeout_sec (defaults to null)
  • id (defaults to null)
  • initial_nat_ips (defaults to null)
  • max_ports_per_vm (defaults to null)
  • min_ports_per_vm (defaults to null)
  • cfg_name (defaults to null)
  • nat_ip_allocate_option (defaults to null)
  • nat_ips (defaults to null)
  • project (defaults to null)
  • region (defaults to null)
  • source_subnetwork_ip_ranges_to_nat64 (defaults to null)
  • tcp_established_idle_timeout_sec (defaults to null)
  • tcp_time_wait_timeout_sec (defaults to null)
  • tcp_transitory_idle_timeout_sec (defaults to null)
  • type (defaults to null)
  • udp_idle_timeout_sec (defaults to null)
  • log_config (defaults to null)
  • nat64_subnetwork (defaults to null)
  • rules (defaults to null)
  • subnetwork (defaults to null)
  • timeouts (defaults to null)
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.