Terraform modules to automate the deployment of Kubecost in AWS and integrate it with your EKS clusters:
- aws-kubecost-iam (
aws-kubecost-iam/
) is a Terraform module configuring IAM for each EKS cluster. - aws-kubecost-athena (
aws-kubecost-athena/
) is a Terraform module creating AWS resources: buckets, CUR (Cost and Usage Report), Spot feed, and Athena.
They are accompanied by an example of values for the official Helm chart
to deploy Kubecost (kubecost-helm-values.yaml
).
This code is used (and better described) in the following article:
- “Kubecost with AWS integration: Implementing and automating with Terraform” (published in October 2024)