google_compute_network_attachment

Nivis Nix constructor for the google_compute_network_attachment 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,
  connection_preference,
  subnetworks,
  deletion_policy ? null,
  description ? null,
  cfg_name ? null,
  producer_accept_lists ? null,
  producer_reject_lists ? null,
  project ? null,
  region ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • connection_preference
  • subnetworks
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • cfg_name (defaults to null)
  • producer_accept_lists (defaults to null)
  • producer_reject_lists (defaults to null)
  • project (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_endpoints
  • creation_timestamp
  • fingerprint
  • id
  • kind
  • network
  • self_link
  • self_link_with_id
Example
google_compute_network_attachment {
  name = "compute_network_attachment";
  connection_preference = …;  # required
  subnetworks = …;  # required
}

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