THE BLUEPRINT HANDBOOK 3 min read
Connect a domain
Point a hostname at an app and let Google issue its TLS certificate.
Operating notes for a personal platform. Its repository is private, so read these as a reference: the commands need access that only its owner has.
Start with a deployed app
A domain mapping needs an existing Cloud Run service. Complete the project's first release, then edit its entry in Blueprint's infra/projects.auto.tfvars.
notebook = {
description = "A place for small ideas"
database = true
domains = { "notebook.scariot.fr" = "web" }
}The value web is the app folder, not the full Cloud Run service name. Open a chore: PR in the Blueprint repository. Review and merge it, then plan from the updated main.
Review DNS and apply
bin/tofu plan
bin/tofu applyFor a subdomain in an existing Cloudflare zone, expect a DNS record and a Cloud Run domain mapping. The Cloudflare proxy stays off. Google issues the certificate, which usually takes about fifteen minutes. Wait for that before diagnosing an HTTPS failure.
curl --fail --show-error --include https://notebook.scariot.fr/Use a different domain
- Add the domain to Cloudflare.
- Verify ownership in Google Search Console.
- Add the zone to
cloudflare_zonesin Blueprint'sinfra/terraform.tfvars. - Allow the Cloudflare API token to edit that zone.
- Declare the hostname in the project entry and review the plan.
A root hostname uses A and AAAA records. Root domains have not yet been proven on this platform, so verify each step. Hostnames outside the configured Cloudflare zones still get a domain mapping; create their DNS records manually from this output.
bin/tofu output dns_recordsReviewed October 4, 2026.