google_compute_interconnectNivis Nix constructor for the google_compute_interconnect 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,
interconnect_type,
link_type,
location,
requested_link_count,
aai_enabled ? null,
admin_enabled ? null,
customer_name ? null,
deletion_policy ? null,
description ? null,
id ? null,
labels ? null,
macsec_enabled ? null,
cfg_name ? null,
noc_contact_email ? null,
project ? null,
remote_location ? null,
requested_features ? null,
application_aware_interconnect ? null,
macsec ? null,
params ? null,
timeouts ? null,
overrides ? {}
}Required arguments
interconnect_typelink_typelocationrequested_link_count
Optional arguments
aai_enabled(defaults tonull)admin_enabled(defaults tonull)customer_name(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)macsec_enabled(defaults tonull)cfg_name(defaults tonull)noc_contact_email(defaults tonull)project(defaults tonull)remote_location(defaults tonull)requested_features(defaults tonull)application_aware_interconnect(defaults tonull)macsec(defaults tonull)params(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
available_featurescircuit_infoscreation_timestampeffective_labelseffective_locationexpected_outagesgoogle_ip_addressgoogle_reference_idinterconnect_attachmentsinterconnect_groupslabel_fingerprintoperational_statuspeer_ip_addressprovisioned_link_countsatisfies_pzsstateterraform_labelswire_groups
Example
google_compute_interconnect {
name = "compute_interconnect";
interconnect_type = …; # required
link_type = …; # required
location = …; # required
requested_link_count = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.