Skip to content

Latest commit

 

History

History

05_terraform_env_module

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.