Prerequisites
- A Helm provider configured for your cluster.
- An organization owner’s API key with
organization:manage, set asCOSTGRAPH_API_KEY. - An operator API key with
operator:readandoperator:writefor your CostGraph tenant. - That operator key stored as
apiKeyin thecostgraph-collectorSecret, in thecostgraphnamespace.
GKE configuration
Assuming your Terraform configuration already defines a GKE cluster like this, use its name when registering it in CostGraph.Register the cluster
Add CostGraph to your existing Terraform provider configuration.production with your tenant’s name.