Production DevOps,
ready in an hour.
Opinionated Terraform stacks for solo builders. One command from blank Google account to live URL — with the security defaults a senior platform engineer would set.
From blank Google account to live URL.
Four steps. One installer. No manual console-clicking, no copy-pasted IAM bindings, no "oh I forgot to enable that API" loop.
Download
Get the zip. 14 files. ~700 lines of HCL. Read every line if you want.
Bootstrap
`./bootstrap.sh install`. Four prompts: project name, region, billing, alert email.
Apply
State bucket created. APIs enable. `terraform apply` runs. ~12 minutes.
Ship
Push to `main`. GitHub Actions deploys via WIF. The URL is live.
Saves you AI tokens, not just dev hours.
The expensive part of an AI-driven Terraform session isn't the writing. It's the debug loop. The 12 failure modes the assistant reliably hits, every time. We document them so the AI stops hitting them.
template {
containers {
resources {
cpu_throttling = false
}
}
} template {
containers {
resources {
startup_cpu_boost = true
}
cpu_idle = false
}
} cpu_throttling is not a Cloud Run v2 field. plan succeeds, change does nothing. The actual knobs are cpu_idle and startup_cpu_boost.
vpc_access {
connector = google_vpc_access_connector.x.id
egress = "ALL_TRAFFIC"
} vpc_access {
network_interfaces {
network = google_compute_network.vpc.id
subnetwork = google_compute_subnetwork.run.id
}
egress = "PRIVATE_RANGES_ONLY"
} Direct VPC Egress went GA late 2024. Pay-per-use. The Connector pattern still works, but every running solo project pays ~$8/mo for nothing.
env {
name = "DB_PASSWORD"
value = var.db_password
} env {
name = "DATABASE_URL"
value_source {
secret_key_ref {
secret = google_secret_manager_secret.db_url.secret_id
version = "latest"
}
}
} Plain env makes the secret tfstate-readable, plan-output-leaking, and revision-immutable. value_source mounts at runtime from Secret Manager.
vs. assembling it from twelve tutorials.
Both ship. One ships secure, scoped, and cost-bounded on day one.
One product. Built right. More coming.
GCP Cloud Run Production Stack
Cloud Run v2 + Direct VPC Egress + Cloud SQL Postgres 17 (private, SSL, IAM, CMEK) + Secret Manager + scoped IAM + WIF deploy. Bootstrap installer + agent guardrails + 12 documented AI failure modes.
Event-Driven Worker Stack
Same hardening philosophy applied to Cloud Run Jobs + Pub/Sub + Eventarc. Idempotent consumers, dead-letter topics, retry budgets that don't melt your bill.