Onboard Compute Optimization with Terraform

Prev Next

Compute Optimization onboarding has these separate parts:

  1. Account onboarding gives Zesty access to the AWS account and produces Kompass Helm values.

  2. Cluster installation installs Compute Optimization into each EKS cluster.

These steps are separate because one AWS account can contain multiple EKS clusters.

You can onboard Compute Optimization in a Linked account or a Management account.

Onboard Compute Optimization in a linked account

module "zesty_account" {

  source  = "zesty-co/zesty-account/aws"

  version = "~> 0.1.1"

  account_type = "linked"

  kompass = {}

}

This configuration:

  • Creates the shared IAM role and policy

  • Registers Compute Optimization

  • Outputs kompass_values_yaml

It does not create CUR, Athena, or Glue resources.

Onboard Compute Optimization in a management account

module "zesty_account" {

  source  = "zesty-co/zesty-account/aws"

  version = "~> 0.1.1"

  account_type = "management"

  kompass = {}

}

This configuration also creates or references a CUR and creates the Athena and Glue resources required by Compute Optimization management-account billing access.

© 2026 Zesty. All Rights Reserved

info@zesty.co