google_compute_routeNivis Nix constructor for the google_compute_route 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,
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_rangenetwork
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)next_hop_gateway(defaults tonull)next_hop_ilb(defaults tonull)next_hop_instance(defaults tonull)next_hop_instance_zone(defaults tonull)next_hop_ip(defaults tonull)next_hop_vpn_tunnel(defaults tonull)priority(defaults tonull)project(defaults tonull)tags(defaults tonull)params(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
as_pathscreation_timestampnext_hop_hubnext_hop_inter_region_costnext_hop_mednext_hop_networknext_hop_originnext_hop_peeringroute_statusroute_typeself_linkwarnings
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.