|
1 | 1 | # Terraform Equinix Labs Project
|
2 | 2 |
|
| 3 | +[](https://github.com/equinix-labs/standards#about-uniform-standards) |
| 4 | +[](https://github.com/equinix-labs/terraform-equinix-labs/actions/workflows/pre-commit.yaml) |
| 5 | +[](https://github.com/equinix-labs/terraform-equinix-labs/actions/workflows/documentation.yaml) |
| 6 | + |
| 7 | +This repository contains a collection of Terraform modules to help automate the deployment and management of both baremetal and [Kubernetes (EKS-A)](https://github.com/equinix-labs/terraform-equinix-metal-eks-anywhere) environments running on [Equinix Metal](https://deploy.equinix.com/). |
| 8 | + |
| 9 | +Visit [EKS-A Baremetal on Equinix Metal](https://github.com/equinix-labs/terraform-equinix-metal-eks-anywhere) for more info on EKS-A on baremetal. |
| 10 | + |
| 11 | +## Usage |
| 12 | + |
| 13 | +This project is intended to be used as a Terraform module. It may also be forked, cloned, or downloaded and modified as needed as the base in your integrations and deployments. Module [invite-from-csv](./modules/invite-from-csv/) may be enabled mutually exclusively. |
| 14 | + |
| 15 | +Prerequesites: |
| 16 | + |
| 17 | +* A valid Equinix Metal organization ID, API token, and/or project ID. |
| 18 | +* HashiCorp Terraform installed. Please see [tfenv](https://github.com/tfutils/tfenv) util. |
| 19 | +* Optional [metal-cli](https://github.com/equinix/metal-cli/#installation) installation. |
| 20 | + |
| 21 | +## Examples |
| 22 | + |
| 23 | +Check out [examples](./examples/) directory for examples on how to utilize this module. |
| 24 | + |
3 | 25 | <!-- BEGIN_TF_DOCS -->
|
4 | 26 | ## Requirements
|
5 | 27 |
|
@@ -27,14 +49,14 @@ No resources.
|
27 | 49 |
|
28 | 50 | | Name | Description | Type | Default | Required |
|
29 | 51 | |------|-------------|------|---------|:--------:|
|
30 |
| -| <a name="input_metal_auth_token"></a> [metal\_auth\_token](#input\_metal\_auth\_token) | Equinix Metal user api token. | `string` | n/a | yes | |
31 |
| -| <a name="input_metal_organization_id"></a> [metal\_organization\_id](#input\_metal\_organization\_id) | Equinix Metal organization id | `string` | n/a | yes | |
32 | 52 | | <a name="input_eksa_config"></a> [eksa\_config](#input\_eksa\_config) | Module configuration for EKSA module | <pre>object({<br> cluster_name = string<br> cp_device_count = number<br> worker_device_count = number<br> })</pre> | <pre>{<br> "cluster_name": "equinix-labs-cluster",<br> "cp_device_count": 3,<br> "worker_device_count": 3<br>}</pre> | no |
|
33 | 53 | | <a name="input_enable_eksa"></a> [enable\_eksa](#input\_enable\_eksa) | Enable EKSA module | `bool` | `false` | no |
|
34 | 54 | | <a name="input_enable_metal"></a> [enable\_metal](#input\_enable\_metal) | Enable Metal module | `bool` | `false` | no |
|
35 | 55 | | <a name="input_enable_workshop_setup"></a> [enable\_workshop\_setup](#input\_enable\_workshop\_setup) | Enable Workshop Setup module | `bool` | `false` | no |
|
| 56 | +| <a name="input_metal_auth_token"></a> [metal\_auth\_token](#input\_metal\_auth\_token) | Equinix Metal user api token. | `string` | n/a | yes | |
36 | 57 | | <a name="input_metal_config"></a> [metal\_config](#input\_metal\_config) | Configuration for Metal module | <pre>object({<br> device_count = number<br> os = string<br> billing_cycle = string<br> cluster_name = string<br> device_type = string<br> })</pre> | <pre>{<br> "billing_cycle": "hourly",<br> "cluster_name": "metal-cluster",<br> "device_count": 3,<br> "device_type": "m3.small.x86",<br> "os": "ubuntu_20_04"<br>}</pre> | no |
|
37 | 58 | | <a name="input_metal_metro"></a> [metal\_metro](#input\_metal\_metro) | Equinix Metal metro | `string` | `"sv"` | no |
|
| 59 | +| <a name="input_metal_organization_id"></a> [metal\_organization\_id](#input\_metal\_organization\_id) | Equinix Metal organization id | `string` | n/a | yes | |
38 | 60 | | <a name="input_metal_project_id"></a> [metal\_project\_id](#input\_metal\_project\_id) | Project ID | `string` | `""` | no |
|
39 | 61 | | <a name="input_metal_tags"></a> [metal\_tags](#input\_metal\_tags) | String list of common tags for Equinix resources | `list(string)` | <pre>[<br> "terraform",<br> "equinix-labs"<br>]</pre> | no |
|
40 | 62 |
|
|
0 commit comments