44# cp terraform.tfvars.example terraform.tfvars
55# ============================================================
66# terraform.tfvars is .gitignore'd — keep secrets out of git.
7+ #
8+ # If you are using Terraform Cloud, set the variables in the
9+ # workspace Variables tab instead — Terraform Cloud will pass
10+ # them in, and terraform.tfvars is ignored. The two are NOT
11+ # loaded together.
712# ============================================================
813
914# Terraform Cloud
@@ -12,6 +17,8 @@ tfc_workspace = "senzen-production"
1217
1318# ─────────────────────────────────────────────────────────────
1419# Vercel (frontend)
20+ # Get token from: https://vercel.com/account/tokens
21+ # Scope: Full Account (or limited to the senzen project)
1522# ─────────────────────────────────────────────────────────────
1623vercel_api_token = "vercel-api-token-here"
1724
@@ -35,8 +42,6 @@ github_repo = "Long104/Senzen"
3542# Public domains — defaults shown, override only if different
3643# ─────────────────────────────────────────────────────────────
3744# frontend_domain = "senzen.pantorn.site"
38- # backend_subdomain = "api"
39- # render_service_name = "senzen-api"
4045# vercel_cname_target = "cname.vercel-dns.com"
4146
4247# ─────────────────────────────────────────────────────────────
@@ -46,16 +51,21 @@ github_repo = "Long104/Senzen"
4651# (or in render.yaml with sync: false).
4752#
4853# Render dashboard → senzen-api → Environment:
49- # DB_HOST = abcdefgh.supabase.co
50- # DB_PORT = 5432
51- # DB_USER = postgres
52- # DB_NAME = postgres
53- # DB_PASSWORD = <from supabase dashboard>
54- # jwtSecretKey = <openssl rand -base64 32>
55- # GOOGLE_CLIENT_ID = <from Google Cloud Console>
56- # GOOGLE_CLIENT_SECRET = <from Google Cloud Console>
57- # GITHUB_CLIENT_ID = <from GitHub OAuth app>
58- # GITHUB_CLIENT_SECRET = <from GitHub OAuth app>
59- # FRONTEND_URL = https://senzen.pantorn.site
60- # BACKEND_URL = https://api.senzen.pantorn.site
54+ # DB_HOST = aws-0-ap-southeast-1.pooler.supabase.com
55+ # DB_PORT = 5432
56+ # DB_USER = postgres.bqkveselhvqmknnvwgfx
57+ # DB_NAME = postgres
58+ # DB_PASSWORD = <from supabase dashboard>
59+ # jwtSecretKey = <openssl rand -base64 32>
60+ # GOOGLE_CLIENT_ID = <from Google Cloud Console>
61+ # GOOGLE_CLIENT_SECRET = <from Google Cloud Console>
62+ # GITHUB_CLIENT_ID = <from GitHub OAuth app>
63+ # GITHUB_CLIENT_SECRET = <from GitHub OAuth app>
64+ # FRONTEND_URL = https://senzen.pantorn.site
65+ # BACKEND_URL = https://senzen.pantorn.site (path-based — no /api)
66+ # GO_ENV = production
67+ #
68+ # OAuth provider dashboards (callback URLs):
69+ # Google: https://senzen.pantorn.site/google_callback
70+ # GitHub: https://senzen.pantorn.site/github_callback
6171# ─────────────────────────────────────────────────────────────
0 commit comments