This directory provides a working example of deploying Forge EKS using Terragrunt for layered configuration management.
Module | Description |
---|---|
eks |
Configures an EKS cluster with Calico and Karpenter for networking and autoscaling |
Before deploying:
aws configure
) with the correct profile.Copy these templates and place them at the correct paths:
examples/templates/eks/_global_settings/_global.yaml
examples/templates/eks/_environment_wide_settings/_environment.yaml
examples/deployments/forge-eks/terragrunt/_global_settings/_global.yaml
examples/deployments/forge-eks/terragrunt/environments/<aws_account>/_environment_wide_settings/_environment.yaml
_global.yaml
Set global values such as team name, product name, AWS account prefix, GitHub organization, and contact email.
(Path: _global_settings/_global.yaml
)
_environment.yaml
Define environment-wide settings like environment name, AWS region, and account ID.
(Path: environments/<aws_account>/_environment_wide_settings/_environment.yaml
)
Be sure to replace all placeholder values (<...>
) with your actual environment details.
Copy the EKS config template and place it at the correct path:
examples/templates/eks/eks/config.yaml
examples/deployments/forge-eks/terragrunt/environments/<aws_account>/regions/<aws_region>/eks/config.yaml
Be sure to replace all placeholder values (<...>
) with your actual environment details.
To deploy all modules:
cd examples/deployments/forge-eks/terragrunt/environments/prod/
terragrunt run-all plan
terragrunt run-all apply
To deploy only the EKS module:
cd examples/deployments/forge-eks/terragrunt/environments/prod/regions/<aws_region>/eks/
terragrunt plan
terragrunt apply
For more advanced scenarios or troubleshooting, see the full documentation.