Skip to content

Latest commit

 

History

History

eksa-setup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Terraform Equinix Labs ESKA Setup Example

This is an example of how to utilize the root module to deploy the eksa module. In this example, deployment target projects must identified by the variable metal_project_ids. Kubernetes will then be provisioned into each project defined by variable metal_project_ids with the configurations set by variable eksa_config in the variables.tf file.

Requirements

Name Version
terraform >= 1.3
equinix >= 1.10.0

Providers

No providers.

Modules

Name Source Version
deploy_eksa ../../ n/a

Resources

No resources.

Inputs

Name Description Type Default Required
metal_auth_token Equinix Metal user api token. string n/a yes
metal_organization_id Equinix Metal organization id string n/a yes
eksa_config Module configuration for EKSA module
object({
cluster_name = string
cp_device_count = number
worker_device_count = number
})
{
"cluster_name": "equinix-labs-cluster",
"cp_device_count": 3,
"worker_device_count": 3
}
no
enable_eksa Enable EKSA module bool true no
metal_project_ids Project ID to deploy EKSA into list(string) [] no

Outputs

Name Description
deploy_eksa_outputs Outputs of the Deploy EKSA module