google_compute_route

Nivis Nix constructor for the google_compute_route 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,
  dest_range,
  network,
  deletion_policy ? null,
  description ? null,
  id ? null,
  cfg_name ? null,
  next_hop_gateway ? null,
  next_hop_ilb ? null,
  next_hop_instance ? null,
  next_hop_instance_zone ? null,
  next_hop_ip ? null,
  next_hop_vpn_tunnel ? null,
  priority ? null,
  project ? null,
  tags ? null,
  params ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • dest_range
  • network
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • next_hop_gateway (defaults to null)
  • next_hop_ilb (defaults to null)
  • next_hop_instance (defaults to null)
  • next_hop_instance_zone (defaults to null)
  • next_hop_ip (defaults to null)
  • next_hop_vpn_tunnel (defaults to null)
  • priority (defaults to null)
  • project (defaults to null)
  • tags (defaults to null)
  • params (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • as_paths
  • creation_timestamp
  • next_hop_hub
  • next_hop_inter_region_cost
  • next_hop_med
  • next_hop_network
  • next_hop_origin
  • next_hop_peering
  • route_status
  • route_type
  • self_link
  • warnings
Example
google_compute_route {
  name = "compute_route";
  dest_range = …;  # required
  network = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.