Skip to main content

skyhook finops setup-gcp

Set up GCP billing integration for OpenCost

Synopsis

Set up GCP infrastructure for OpenCost BigQuery billing integration. Creates a GCP service account, grants BigQuery roles, sets up Workload Identity binding, and enables required APIs. All flags are optional - values are auto-detected from your gcloud configuration when not provided.
skyhook finops setup-gcp [flags]

Examples

  skyhook finops setup-gcp
  skyhook finops setup-gcp --project-id my-project --region us-central1
  skyhook finops setup-gcp --cluster-name my-cluster

Options

      --cluster-name string      GKE cluster name (default: auto-detected from kubectl context)
  -h, --help                     help for setup-gcp
      --namespace string         Kubernetes namespace where OpenCost is deployed (default "opencost")
      --project-id string        GCP project ID (default: auto-detected)
      --region string            GCP region (default: auto-detected)
      --service-account string   Kubernetes service account name for OpenCost (default "opencost")

Options inherited from parent commands

      --debug        Enable debug mode (shows full API requests/responses)
  -o, --org string   Organization name
  -v, --verbose      Enable user-friendly verbose output

SEE ALSO