google_compute_network_peeringNivis 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
networkpeer_network
Optional arguments
deletion_policy(defaults tonull)export_custom_routes(defaults tonull)export_subnet_routes_with_public_ip(defaults tonull)id(defaults tonull)import_custom_routes(defaults tonull)import_subnet_routes_with_public_ip(defaults tonull)cfg_name(defaults tonull)stack_type(defaults tonull)update_strategy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
statestate_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.