google_compute_network

Nivis Nix constructor for the google_compute_network 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,
  auto_create_subnetworks ? null,
  bgp_always_compare_med ? null,
  bgp_best_path_selection_mode ? null,
  bgp_inter_region_cost ? null,
  delete_bgp_always_compare_med ? null,
  delete_default_routes_on_create ? null,
  deletion_policy ? null,
  description ? null,
  enable_ula_internal_ipv6 ? null,
  id ? null,
  internal_ipv6_range ? null,
  mtu ? null,
  cfg_name ? null,
  network_firewall_policy_enforcement_order ? null,
  network_profile ? null,
  project ? null,
  routing_mode ? null,
  params ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • auto_create_subnetworks (defaults to null)
  • bgp_always_compare_med (defaults to null)
  • bgp_best_path_selection_mode (defaults to null)
  • bgp_inter_region_cost (defaults to null)
  • delete_bgp_always_compare_med (defaults to null)
  • delete_default_routes_on_create (defaults to null)
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • enable_ula_internal_ipv6 (defaults to null)
  • id (defaults to null)
  • internal_ipv6_range (defaults to null)
  • mtu (defaults to null)
  • cfg_name (defaults to null)
  • network_firewall_policy_enforcement_order (defaults to null)
  • network_profile (defaults to null)
  • project (defaults to null)
  • routing_mode (defaults to null)
  • params (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • gateway_ipv4
  • network_id
  • numeric_id
  • self_link
Example
google_compute_network {
  name = "compute_network";
}

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