-
Notifications
You must be signed in to change notification settings - Fork 0
Support custom domain mapping in gapp.yaml #9
Copy link
Copy link
Open
Description
Summary
Allow solutions to declare a custom domain in gapp.yaml. gapp creates the Cloud Run domain mapping via terraform. DNS configuration remains manual (gapp can't manage external DNS providers).
Proposed format
domain: myapp.example.comBehavior
- Terraform creates
google_cloud_run_domain_mappingresource whendomainis set - Cloud Run provisions SSL certificate automatically
- Both the default Cloud Run URL and the custom domain work simultaneously
gapp statusreports both URLs and DNS/SSL readiness stategapp mcp connectincludes the custom domain in connection instructions when active- Deploy skill guides user through the manual DNS CNAME step after first deploy
What gapp does NOT do
- Manage DNS records (external provider — manual CNAME to
ghs.googlehosted.com) - Block deployment if DNS isn't configured yet — the default URL always works
Implementation
- Add
domainvariable to terraform module - Add
google_cloud_run_domain_mappingresource (conditional on domain being set) - Update
_build_tfvarsto pass domain - Update
status.pyto check domain mapping state via gcloud - Update deploy skill with DNS guidance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels