|
7 | 7 |
|
8 | 8 | As part of Platform Equinix, your infrastructure can connect with other parties, such as public cloud providers, network service providers, or your own colocation cages in Equinix by defining an [Equinix Fabric - software-defined interconnection](https://docs.equinix.com/en-us/Content/Interconnection/Fabric/Fabric-landing-main.htm).
|
9 | 9 |
|
10 |
| -This module creates a Cloud router or uses an existing one, an InterconnectAttachment in Google Cloud, and the l2 connection in Equinix Fabric using the InterconnectAttachment pairing key. |
| 10 | +This module creates a Cloud router or uses an existing one, an InterconnectAttachment in Google Cloud, and the l2 connection in Equinix Fabric using the InterconnectAttachment pairing key. BGP can be optionally configured in both sides if Network Edge device is used. |
11 | 11 |
|
12 | 12 | ```html
|
13 | 13 | Origin Destination
|
14 | 14 | (A-side) (Z-side)
|
15 | 15 |
|
16 | 16 | ┌────────────────┐
|
17 |
| -│ Equinix Fabric │ Equinix Fabric ┌────────────────────┐ ┌───────────────────────┐ |
18 |
| -│ Port / Network ├───── l2 connection ───────►│ GCP │──────►│ Clour Router ─► VPC │ |
19 |
| -│ Edge Device / │ (50 Mbps - 10 Gbps) │ Interconnect │ │ │ |
20 |
| -│ Service Token │ └────────────────────┘ └───────────────────────┘ |
21 |
| -└────────────────┘ |
| 17 | +│ Equinix Fabric │ Equinix Fabric ┌────────────────────┐ ┌────────────────┐ |
| 18 | +│ Port / Network ├───── l2 connection ───────►│ GCP │──────►│ Clour Router │ |
| 19 | +│ Edge Device / │ (50 Mbps - 10 Gbps) │ Interconnect │ │ │ |
| 20 | +│ Service Token │ └────────────────────┘ └────────────────┘ |
| 21 | +└────────────────┘ │ |
| 22 | + │ │ |
| 23 | + └ - - - - - - - - - - Network Edge Device - - - - - - - - - - - - - - - - - ┘ |
| 24 | + BGP peering |
22 | 25 | ```
|
23 | 26 |
|
24 | 27 | ### Usage
|
@@ -60,24 +63,32 @@ module "equinix-fabric-connection-gcp" {
|
60 | 63 |
|
61 | 64 | Run `terraform init -upgrade` and `terraform apply`.
|
62 | 65 |
|
63 |
| -#### Resources |
| 66 | +-> **NOTE:** |
| 67 | +Completing BGP configuration in GCP side is not directly supported with current google terraform provider (v3.72.0). As a workaround this module take advantage of [terraform-google-gcloud](https://registry.terraform.io/modules/terraform-google-modules/gcloud/google/latest) module which allows use gcloud. However, it is only available for `linux` and `darwin` based operating systems. To run this module in a non-supported platfom, 'network_edge_configure_bgp' and 'gcp_configure_bgp' must remain false. Check this [issue](https://github.com/hashicorp/terraform-provider-google/issues/9582) to obtain further information. |
| 68 | + |
| 69 | +### Variables |
| 70 | + |
| 71 | +See <https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest?tab=inputs> for a description of all variables. |
| 72 | + |
| 73 | +### Outputs |
| 74 | + |
| 75 | +See <https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest?tab=outputs> for a description of all outputs. |
| 76 | + |
| 77 | +### Resources |
64 | 78 |
|
65 | 79 | | Name | Type |
|
66 |
| -| :-----: | :------: | |
| 80 | +|------|------| |
67 | 81 | | [random_string.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |
|
68 | 82 | | [equinix-fabric-connection](https://registry.terraform.io/modules/equinix-labs/fabric-connection/equinix/latest?tab=inputs) | module |
|
| 83 | +| [equinix_network_bgp.this](https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/equinix_network_bgp) | resource | |
69 | 84 | | [google_compute_interconnect_attachment.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_interconnect_attachment) | resource |
|
70 | 85 | | [google_compute_router.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_router) | resource |
|
71 | 86 | | [google_compute_router.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/compute_router) | data source |
|
72 |
| - |
73 |
| -#### Variables |
74 |
| - |
75 |
| -See <https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest?tab=inputs> for a description of all variables. |
76 |
| - |
77 |
| -#### Outputs |
78 |
| - |
79 |
| -See <https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest?tab=outputs> for a description of all outputs. |
| 87 | +| [gcloud-configure-bgp](https://registry.terraform.io/modules/terraform-google-modules/gcloud/google/latest) | module | |
| 88 | +| [gcloud-get-bgp-addresses](https://registry.terraform.io/modules/terraform-google-modules/gcloud/google/latest) | module | |
| 89 | +| [local_file.this](https://registry.terraform.io/providers/hashicorp/local/latest/docs/data-sources/file) | data source | |
80 | 90 |
|
81 | 91 | ### Examples
|
82 | 92 |
|
83 |
| -- [examples/simple](examples/simple/) |
| 93 | +- [Fabric Port connection example](https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest/examples/fabric-port-connection/) |
| 94 | +- [Network Edge device connection](https://registry.terraform.io/modules/equinix-labs/fabric-connection-gcp/equinix/latest/examples/network-edge-device-connection/) |
0 commit comments