Skip to content

schadalawada/terraform-equinix-network-edge-nginx

 
 

Repository files navigation

Equinix Network Edge NGINX device creation Terraform module

Experimental terraform

terraform-equinix-network-edge-nginx is a Terraform module that utilizesTerraform provider for Equinix to create Network Edge NGINX device.

This module creates a NGINX single device, HA pair and Cluster based on configuration.

Usage

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
provider "equinix" {
  client_id     = var.equinix_client_id
  client_secret = var.equinix_client_secret
}

module "nginx-single" {
  source                 = "equinix-labs/network-edge-device-nginx/equinix"
  name                   = "terraform-test-NGINX"
  hostname               = "terraform-nginx"
  metro_code             = "AT"
  account_number         = "123456"
  platform               = "small"
  software_package       = "STD"
  term_length            = 1
  notifications          = ["[email protected]"]
  additional_bandwidth   = 50
  mgmt_acl_template_uuid = equinix_network_acl_template.nginx-pri.id
  ssh_key = {
    userName = "johndoe"
    keyName  = equinix_network_ssh_key.johndoe.name
  }
}

Run terraform init -upgrade and terraform apply.

Variables

See https://registry.terraform.io/modules/equinix-labs/network-edge-device-nginx/equinix/latest?tab=inputs for a description of all variables.

Outputs

See https://registry.terraform.io/modules/equinix-labs/network-edge-device-nginx/equinix/latest?tab=outputs for a description of all outputs.

Resources

Name Type
equinix_network_device.this resource
equinix_network_device_type.this data source
equinix_network_device_platform.this data source
equinix_network_device_software.this data source

Examples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 99.0%
  • Ruby 1.0%