google_compute_service_attachmentNivis 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_preferenceenable_proxy_protocolnat_subnetstarget_service
Optional arguments
consumer_reject_lists(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)domain_names(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)nat_ips_per_endpoint(defaults tonull)project(defaults tonull)propagated_connection_limit(defaults tonull)reconcile_connections(defaults tonull)region(defaults tonull)send_propagated_connection_limit_if_zero(defaults tonull)show_nat_ips(defaults tonull)consumer_accept_lists(defaults tonull)timeouts(defaults tonull)tunneling_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
connected_endpointsfingerprintpsc_service_attachment_idself_linkservice_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.