google_compute_service_attachment

Nivis Nix constructor for the google_compute_service_attachment 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,
  connection_preference,
  enable_proxy_protocol,
  nat_subnets,
  target_service,
  consumer_reject_lists ? null,
  deletion_policy ? null,
  description ? null,
  domain_names ? null,
  id ? null,
  cfg_name ? null,
  nat_ips_per_endpoint ? null,
  project ? null,
  propagated_connection_limit ? null,
  reconcile_connections ? null,
  region ? null,
  send_propagated_connection_limit_if_zero ? null,
  show_nat_ips ? null,
  consumer_accept_lists ? null,
  timeouts ? null,
  tunneling_config ? null,
  overrides ? {}
}
Required arguments
  • connection_preference
  • enable_proxy_protocol
  • nat_subnets
  • target_service
Optional arguments
  • consumer_reject_lists (defaults to null)
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • domain_names (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • nat_ips_per_endpoint (defaults to null)
  • project (defaults to null)
  • propagated_connection_limit (defaults to null)
  • reconcile_connections (defaults to null)
  • region (defaults to null)
  • send_propagated_connection_limit_if_zero (defaults to null)
  • show_nat_ips (defaults to null)
  • consumer_accept_lists (defaults to null)
  • timeouts (defaults to null)
  • tunneling_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connected_endpoints
  • fingerprint
  • psc_service_attachment_id
  • self_link
  • service_attachment_id
Example
google_compute_service_attachment {
  name = "compute_service_attachment";
  connection_preference = …;  # required
  enable_proxy_protocol = …;  # required
  nat_subnets = …;  # required
  target_service = …;  # required
}

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