Package com.eqixiac.equinix.design.export
TerraformExporter renders a
DeploymentPlan as HCL for the Equinix Terraform provider:
equinix_fabric_cloud_router, equinix_fabric_connection (provider connections
and backbone links, with the mandated notifications on every resource and
redundancy blocks where planned), and equinix_fabric_routing_protocol (BGP
emitted with depends_on its DIRECT sibling), plus sensitive input variables
for the customer-supplied cloud authorization keys and VLAN tags. Its honest limits: the
caller still supplies provider credentials and the variable values before
terraform apply, and physical colocation (cabinets, cross-connects) cannot be
expressed at all - the Equinix Terraform provider has no resources for it.
TopologyDiagram renders a DeploymentPlan
(metro subgraphs, provider edges, backbone edges; graph LR) or an
OptimizationResult (ranked metros and workload placements; graph TD) as
Mermaid graph text, which GitHub, GitLab and most docs platforms render natively. Labels are
HTML-escaped so real-world names cannot break the diagram.
Beta. Native multicloud links (DeploymentPlan.multicloudLinksOrEmpty()) are
direct links between two cloud providers that use no Equinix resource. Neither exporter turns
one into a provisionable artifact:
| Exporter | Output | Not produced |
|---|---|---|
TerraformExporter | a delimited # comment block (providers,
regions, bandwidth in Mbps, environment status, role, the create-then-accept procedure
with source URLs) and one variable "<name>_destination_account_id" of type
string; a header line per REPLACEMENT link naming the omitted Equinix
connections | any resource or provider block for the link; any
aws_*, google_*, oci_* or azurerm_* resource; a variable
for the activation key |
TopologyDiagram | a dashed <-.-> edge between the two cloud
nodes labeled native multicloud (outside Fabric) | an edge for an
UNAVAILABLE entry; any edge through a Cloud Router |
- See Also:
-
ClassesClassDescriptionRenders a
DeploymentPlanproduced by the Deployment Wizard into Infrastructure-as-Code (HCL) for the Equinix Terraform provider.Renders deployment topologies as Mermaidgraphtext.