Skip to main content

equinix_fabric_connection (Data Source)

Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID

Additional documentation:

Example Usage

data "equinix_fabric_connection" "connection_data_name" {
uuid = "<uuid_of_connection>"
}

output "id" {
value = data.equinix_fabric_connection.connection_data_name.id
}

output "name" {
value = data.equinix_fabric_connection.connection_data_name.bandwidth
}

output "account_number" {
value = [for account in data.equinix_fabric_connection.connection_data_name.account: account.account_number]
}

output "bandwidth" {
value = data.equinix_fabric_connection.connection_data_name.bandwidth
}

output "project_id" {
value = [for project in data.equinix_fabric_connection.connection_data_name.project: project.project_id]
}

output "redundancy_group" {
value = [for redundancy in data.equinix_fabric_connection.connection_data_name.redundancy: redundancy.group]
}

output "redundancy_priority" {
value = [for redundancy in data.equinix_fabric_connection.connection_data_name.redundancy: redundancy.priority]
}

output "state" {
value = data.equinix_fabric_connection.connection_data_name.state
}

output "type" {
value = data.equinix_fabric_connection.connection_data_name.type
}

# Same for z_side just use z_side instead of a_side
output "access_point_type" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point: access.type]]
}

# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_type" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.type]]]
}

# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_tag]]]
}

# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_c_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_c_tag]]]
}

# Same for z_side just use z_side instead of a_side
output "access_point_link_protocol_vlan_s_tag" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point:
[for protocol in access.link_protocol: protocol.vlan_s_tag]]]
}

# Same for z_side just use z_side instead of a_side
output "access_point_provider_connection_id" {
value = [for aside in data.equinix_fabric_connection.connection_data_name.a_side:
[for access in aside.access_point: access.provider_connection_id]]
}

Schema

Required

  • uuid (String) Equinix-assigned connection identifier

Read-Only

  • a_side (Set of Object) Requester or Customer side connection configuration object of the multi-segment connection (see below for nested schema)
  • account (Set of Object) Customer account information that is associated with this connection (see below for nested schema)
  • additional_info (List of Map of String) Connection additional information
  • bandwidth (Number) Connection bandwidth in Mbps
  • change_log (Set of Object) Captures connection lifecycle change information (see below for nested schema)
  • description (String) Customer-provided connection description
  • direction (String) Connection directionality from the requester point of view
  • href (String) Connection URI information
  • id (String) The ID of this resource.
  • is_remote (Boolean) Connection property derived from access point locations
  • name (String) Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores
  • notifications (List of Object) Preferences for notifications on connection configuration or status changes (see below for nested schema)
  • operation (Set of Object) Connection type-specific operational data (see below for nested schema)
  • order (Set of Object) Order details (see below for nested schema)
  • project (Set of Object) Project information (see below for nested schema)
  • redundancy (Set of Object) Connection Redundancy Configuration (see below for nested schema)
  • state (String) Connection overall state
  • type (String) Defines the connection type like EVPL_VC, EPL_VC, IPWAN_VC, IP_VC, ACCESS_EPL_VC, EVPLAN_VC, EPLAN_VC, EIA_VC, IA_VC, EC_VC
  • z_side (Set of Object) Destination or Provider side connection configuration object of the multi-segment connection (see below for nested schema)

Nested Schema for a_side

Read-Only:

Nested Schema for a_side.access_point

Read-Only:

Nested Schema for a_side.access_point.account

Read-Only:

  • account_name (String)
  • account_number (Number)
  • global_cust_id (String)
  • global_org_id (String)
  • global_organization_name (String)
  • org_id (Number)
  • organization_name (String)
  • ucm_id (String)

Nested Schema for a_side.access_point.gateway

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for a_side.access_point.interface

Read-Only:

  • id (Number)
  • type (String)
  • uuid (String)

Read-Only:

  • type (String)
  • vlan_c_tag (Number)
  • vlan_s_tag (Number)
  • vlan_tag (Number)

Nested Schema for a_side.access_point.location

Read-Only:

  • ibx (String)
  • metro_code (String)
  • metro_name (String)
  • region (String)

Nested Schema for a_side.access_point.network

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for a_side.access_point.port

Read-Only:

Nested Schema for a_side.access_point.port.redundancy

Read-Only:

  • enabled (Boolean)
  • group (String)
  • priority (String)

Nested Schema for a_side.access_point.profile

Read-Only:

  • access_point_type_configs (List of Object) (see below for nested schema)
  • description (String)
  • href (String)
  • name (String)
  • type (String)
  • uuid (String)

Nested Schema for a_side.access_point.profile.access_point_type_configs

Read-Only:

  • type (String)
  • uuid (String)

Nested Schema for a_side.access_point.router

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for a_side.access_point.virtual_device

Read-Only:

  • href (String)
  • name (String)
  • type (String)
  • uuid (String)

Nested Schema for a_side.additional_info

Read-Only:

  • key (String)
  • value (String)

Nested Schema for a_side.service_token

Read-Only:

  • description (String)
  • href (String)
  • type (String)
  • uuid (String)

Nested Schema for account

Read-Only:

  • account_name (String)
  • account_number (Number)
  • global_cust_id (String)
  • global_org_id (String)
  • global_organization_name (String)
  • org_id (Number)
  • organization_name (String)
  • ucm_id (String)

Nested Schema for change_log

Read-Only:

  • created_by (String)
  • created_by_email (String)
  • created_by_full_name (String)
  • created_date_time (String)
  • deleted_by (String)
  • deleted_by_email (String)
  • deleted_by_full_name (String)
  • deleted_date_time (String)
  • updated_by (String)
  • updated_by_email (String)
  • updated_by_full_name (String)
  • updated_date_time (String)

Nested Schema for notifications

Read-Only:

  • emails (List of String)
  • send_interval (String)
  • type (String)

Nested Schema for operation

Read-Only:

Nested Schema for operation.errors

Read-Only:

  • additional_info (List of Object) (see below for nested schema)
  • correlation_id (String)
  • details (String)
  • error_code (String)
  • error_message (String)
  • help (String)

Nested Schema for operation.errors.additional_info

Read-Only:

  • property (String)
  • reason (String)

Nested Schema for order

Read-Only:

  • billing_tier (String)
  • order_id (String)
  • order_number (String)
  • purchase_order_number (String)
  • term_length (Number)

Nested Schema for project

Read-Only:

  • href (String)
  • project_id (String)

Nested Schema for redundancy

Read-Only:

  • group (String)
  • priority (String)

Nested Schema for z_side

Read-Only:

Nested Schema for z_side.access_point

Read-Only:

Nested Schema for z_side.access_point.account

Read-Only:

  • account_name (String)
  • account_number (Number)
  • global_cust_id (String)
  • global_org_id (String)
  • global_organization_name (String)
  • org_id (Number)
  • organization_name (String)
  • ucm_id (String)

Nested Schema for z_side.access_point.gateway

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for z_side.access_point.interface

Read-Only:

  • id (Number)
  • type (String)
  • uuid (String)

Read-Only:

  • type (String)
  • vlan_c_tag (Number)
  • vlan_s_tag (Number)
  • vlan_tag (Number)

Nested Schema for z_side.access_point.location

Read-Only:

  • ibx (String)
  • metro_code (String)
  • metro_name (String)
  • region (String)

Nested Schema for z_side.access_point.network

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for z_side.access_point.port

Read-Only:

Nested Schema for z_side.access_point.port.redundancy

Read-Only:

  • enabled (Boolean)
  • group (String)
  • priority (String)

Nested Schema for z_side.access_point.profile

Read-Only:

  • access_point_type_configs (List of Object) (see below for nested schema)
  • description (String)
  • href (String)
  • name (String)
  • type (String)
  • uuid (String)

Nested Schema for z_side.access_point.profile.access_point_type_configs

Read-Only:

  • type (String)
  • uuid (String)

Nested Schema for z_side.access_point.router

Read-Only:

  • href (String)
  • uuid (String)

Nested Schema for z_side.access_point.virtual_device

Read-Only:

  • href (String)
  • name (String)
  • type (String)
  • uuid (String)

Nested Schema for z_side.additional_info

Read-Only:

  • key (String)
  • value (String)

Nested Schema for z_side.service_token

Read-Only:

  • description (String)
  • href (String)
  • type (String)
  • uuid (String)
Was this page helpful?