Easily manage Amazon EKS clusters and workloads with CloudPilot AI's automation and cost optimization. This provider enables seamless integration of CloudPilot AI's agent, workload rebalancing, and node pool management into your Terraform workflow.
- Provision and manage EKS clusters with CloudPilot AI integration
- Automated agent and rebalance component installation
- Node pool and node class management (including custom Karpenter JSON)
- Workload cost optimization (rebalance, spot-friendly, min non-spot replicas)
- Seamless AWS CLI and kubeconfig integration
- Terraform - Version 1.0 or later
- AWS CLI - Install and configure the AWS CLI with credentials that have EKS cluster management permissions. Required for EKS-related operations such as updating kubeconfig. If you haven't created an EKS cluster yet, see the example setup: eks-ondemand
- Kubectl - For cluster operations and component management
- CloudPilot AI API key - See CloudPilot AI API Key Documentation for setup instructions
See the examples/
directory for real-world configurations:
Example | Description | Use Case |
---|---|---|
0_details |
Full-featured EKS cluster with all options | Production setup with workload templates, nodeclasses, and complete configuration |
1_read-only_access |
Agent-only installation | Testing or monitoring without optimization changes |
2_basic_rebalance |
Basic rebalance enabled | Simple cost optimization with workload rebalancing |
3_nodeclass_nodepool_rebalance |
Custom nodeclass/nodepool | Advanced node management with custom configurations |
Each example folder contains a main.tf
and a dedicated README with usage instructions.
Note: Never call CloudPilot API endpoints directly; always use the Client
struct in pkg/cloudpilot-ai/client/
.