-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
85 lines (72 loc) · 1.91 KB
/
variables.tf
File metadata and controls
85 lines (72 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variable "hcloud_token" {
description = "Hetzner Cloud API token"
type = string
sensitive = true
}
variable "server_name" {
description = "Name of the server"
type = string
default = "engram"
}
variable "server_type" {
description = "Hetzner server type (cpx31 = 4 vCPU, 8GB RAM)"
type = string
default = "cpx31"
}
variable "location" {
description = "Hetzner datacenter location"
type = string
default = "ash" # Ashburn, VA
}
variable "image" {
description = "Server OS image"
type = string
default = "ubuntu-24.04"
}
variable "ssh_public_key" {
description = "SSH public key content"
type = string
sensitive = true
}
variable "ssh_key_name" {
description = "Name for the SSH key in Hetzner"
type = string
default = "engram-key"
}
# Vercel DNS configuration
variable "vercel_api_token" {
description = "Vercel API token for DNS management"
type = string
sensitive = true
}
variable "vercel_team_id" {
description = "Vercel team ID (optional)"
type = string
default = null
}
variable "domain" {
description = "Domain name for DNS records (e.g., example.com)"
type = string
# No default - must be provided via TF_VAR_domain or -var
}
# OAuth service client credentials
variable "engram_tuner_client_secret" {
description = "OAuth client secret for engram-tuner service"
type = string
sensitive = true
}
variable "engram_search_client_secret" {
description = "OAuth client secret for engram-search service"
type = string
sensitive = true
}
variable "engram_console_client_secret" {
description = "OAuth client secret for engram-console service"
type = string
sensitive = true
}
variable "engram_ingestion_client_secret" {
description = "OAuth client secret for engram-ingestion service"
type = string
sensitive = true
}