Files
heygo/terraform/outputs.tf
T
Hermes Agent e4fbbaec14 feat: add terraform IaC, dev/prod environments, and multi-host worker support
- Terraform configs for D1 databases, KV namespaces, Worker custom domains
- wrangler.dev.jsonc and wrangler.prod.jsonc for environment-specific deployments
- Worker code refactored to use env vars for host checking (PUBLIC_HOST, PRIVATE_HOST)
- Configurable app URLs and cookie domain via env vars
- Deploy and migrate npm scripts for dev/prod
- Updated all tests with new env fixtures
- Deployment guide in README
2026-06-20 14:26:56 +10:00

25 lines
770 B
Terraform

output "d1_database_id" {
value = cloudflare_d1_database.shortlinks.id
description = "D1 database UUID. Copy this into the database_id field of the matching wrangler config."
}
output "kv_namespace_id" {
value = cloudflare_workers_kv_namespace.public_cache.id
description = "Workers KV namespace ID. Copy this into the id field of the matching wrangler config."
}
output "worker_name" {
value = var.worker_name
description = "Name of the deployed Cloudflare Worker service."
}
output "public_domain" {
value = var.public_domain
description = "Public shortlinks hostname served by the Worker."
}
output "private_domain" {
value = var.private_domain
description = "Private shortlinks hostname served by the Worker."
}