Available environments
production/gkeproduction/kubernetesproduction/cloud-runproduction/flyproduction/digital-ocean
Typical workflow
Target notes
GKE Autopilot
GKE Autopilot
Creates the Kubernetes cluster itself. After apply, fetch credentials with
gcloud container clusters get-credentials.Kubernetes
Kubernetes
Deploys app resources into an existing cluster, such as one created by the GKE target.
Cloud Run
Cloud Run
Requires Secret Manager secrets to exist before apply.
Fly.io
Fly.io
Uses
flyctl deploy via Terraform local-exec. Secrets are still managed manually in Fly.io.DigitalOcean
DigitalOcean
Requires
DIGITALOCEAN_TOKEN and repository access configured in App Platform.General rules
- Use immutable image refs whenever possible.
- Point
SITE_URLto the public canonical endpoint. - For Cloud Run, Kubernetes, and DigitalOcean, provide core secrets plus exactly one storage profile.
- Keep scheduler behavior aligned with Scheduled Jobs.