Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 439 Bytes

File metadata and controls

19 lines (13 loc) · 439 Bytes

Encapsulating clusters as Terraform modules

You can provision multiple EKS clusters with a single terraform apply:

terraform init
terraform plan
terraform apply

It might take a while for the cluster to be created (up to 15-20 minutes).

At the end you will have:

  1. A cluster for development.
  2. A cluster for staging.
  3. A cluster for production.

In the same folder, you will find a kubeconfig file for each cluster.