Configure your cloud account, regions, and network access.
Edit terraform.tfvars.json in terraform/aws/ or terraform/gcp/. These examples configure private access. The dashboard’s rivet.auto.tfvars.json supplies the non-secret cluster identity; supply the operator token through RIVET_BYOC_OPERATOR_TOKEN for the first apply, never in a Terraform variable or file.
Kubernetes namespace for the Rivet operator; must differ from kubernetes_namespace
regions.<key>.existing_kubernetes
Create a cluster
Google Cloud: object with cluster, network, subnetwork, and node_service_accounts. AWS: object with cluster_name and private_subnet_ids; public access also requires public_subnet_ids. Omit new_network for this region
Existing AWS clusters must use EKS Auto Mode with compatible nodes, add-ons, and networking. This currently supports one region, with three private subnets in distinct availability zones and, for public access, three public subnets. See the setup kit’s terraform/aws/README.md for the full compatibility requirements.
Google Cloud: object with project, location, and repository. AWS: object with region and repository_prefix; both <prefix>/rivet-engine and <prefix>/rivet-operator must already exist in the same account with immutable tags and AES256 encryption
registry_region
Leader’s cloud region
Location of the shared image registry. Omit when using existing_registry
Google Cloud: object with bucket, endpoint, region, and config_secret referencing the storage credentials. AWS: object with bucket, referencing a private, same-account S3 bucket in the selected region with AES256 encryption; cross-account and KMS-encrypted buckets are not supported