google_compute_network_peering

Nivis Nix constructor for the google_compute_network_peering 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,
  network,
  peer_network,
  deletion_policy ? null,
  export_custom_routes ? null,
  export_subnet_routes_with_public_ip ? null,
  id ? null,
  import_custom_routes ? null,
  import_subnet_routes_with_public_ip ? null,
  cfg_name ? null,
  stack_type ? null,
  update_strategy ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • network
  • peer_network
Optional arguments
  • deletion_policy (defaults to null)
  • export_custom_routes (defaults to null)
  • export_subnet_routes_with_public_ip (defaults to null)
  • id (defaults to null)
  • import_custom_routes (defaults to null)
  • import_subnet_routes_with_public_ip (defaults to null)
  • cfg_name (defaults to null)
  • stack_type (defaults to null)
  • update_strategy (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • state
  • state_details
Example
google_compute_network_peering {
  name = "compute_network_peering";
  network = …;  # required
  peer_network = …;  # required
}

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