This repository provisions a production-style Amazon EKS environment with a reusable VPC module and an EKS module.
modules/networking- AWS VPC and subnet configurationmodules/eks- EKS control plane and managed node groupsenvironments/dev- development defaultsenvironments/prod- production defaults
- Terraform >= 1.6.0
- AWS CLI configured with credentials and a default region
- Permission to create VPC, EKS, IAM, and related resources
- Change into the environment directory you want to deploy:
cd environments/dev
- Copy or update the
terraform.tfvarsfile with your environment values. - Initialize Terraform:
terraform init
- Review the plan:
terraform plan
- Deploy the stack:
terraform apply
The root Terraform configuration includes a placeholder S3 backend block. Update the backend configuration to point to your enterprise state bucket before running deployments in shared environments.
All resources are tagged with operational metadata such as Environment, Project, Owner, and CostCenter using the shared default_tags in the root provider configuration.