terraform-equinix-template
is a minimal Terraform module that utilizes Terraform providers for Equinix to provision digital infrastructure and demonstrate higher level integrations.
This project is experimental and supported by the user community. Equinix does not provide support for this project.
Install Terraform using the official guides at https://learn.hashicorp.com/tutorials/terraform/install-cli.
This project may be forked, cloned, or downloaded and modified as needed as the base in your integrations and deployments.
This project may also be used as a Terraform module.
To use this module in a new project, create a file such as:
# main.tf
terraform {
required_providers {
equinix = {
source = "equinix/equinix"
}
metal = {
source = "equinix/metal"
}
}
module "example" {
source = "github.com/equinix-labs/template"
# TEMPLATE: replace "template" with the name of the repo after the terraform-equinix- or terraform-metal- prefix.
# Published modules can be sourced as:
# source = "equinix-labs/template/equinix"
# See https://www.terraform.io/docs/registry/modules/publish.html for details.
# version = "0.1.0"
# TEMPLATE: insert required variables here
}
Run terraform init -upgrade
and terraform apply
.
Variable Name | Type | Default Value | Description |
---|---|---|---|
Variable Name | Type | Description |
---|---|---|