Kompass onboarding has these separate parts:
Account onboarding gives Zesty access to the AWS account and produces Kompass Helm values.
Cluster installation installs Kompass into each EKS cluster.
These steps are separate because one AWS account can contain multiple EKS clusters.
You can onboard Kompass in a Linked account or a Management account.
Onboard Kompass 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 Kompass
Outputs kompass_values_yaml
It does not create CUR, Athena, or Glue resources.
Onboard Kompass 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 Kompass management-account billing access.