-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
159 lines (132 loc) · 3.06 KB
/
variables.tf
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Environment
variable "development" {
description = "Development environment"
type = bool
default = true
}
variable "production" {
description = "Production environment"
type = bool
default = false
}
# Authentication
variable "do_token" {
description = "DigitalOcean API token"
type = string
sensitive = true
}
variable "timezone" {
description = "Timezone for the server"
type = string
}
# DNS record management
variable "tld" {
description = "Top-level domain"
type = string
}
variable "subdomain" {
description = "The subdomain name for the DNS record"
type = string
default = null
}
# Server infrastructure
variable "ssh_fingerprint" {
description = "SSH key fingerprint"
type = string
}
variable "server_name" {
description = "Name of the Droplet"
type = string
default = null
}
variable "region" {
description = "Region for the Droplet"
type = string
}
variable "droplet_size" {
description = "Size of the Droplet"
type = string
}
variable "image" {
description = "Droplet image"
type = string
}
variable "monitoring" {
description = "Enable monitoring"
type = bool
default = false
}
variable "backups" {
description = "Enable backups"
type = bool
default = false
}
variable "tags" {
description = "Tags for the Droplet"
type = list(string)
default = []
}
variable "cloud_init_config" {
description = "Path to cloud-init configuration file"
type = string
}
variable "gunicorn_config" {
description = "Name of the Gunicorn configuration file to use"
type = string
default = "gunicorn.service.ini"
}
variable "node_version" {
description = "Node.js version to install"
type = string
}
variable "admin_django_user" {
description = "Admin user name for Django"
type = string
}
variable "admin_password" {
description = "Admin user password for the application backend"
type = string
sensitive = true
}
variable "admin_email_name" {
description = "Username part for the admin email address"
type = string
}
variable "gmail_password" {
description = "Password for the Gmail account used to send emails"
type = string
sensitive = true
}
variable "db_name" {
description = "Database name"
type = string
}
variable "db_user" {
description = "Database user"
type = string
}
variable "db_password" {
description = "Database password"
type = string
sensitive = true
}
variable "internal_ips" {
description = "Space-separated list of internal IP addresses"
type = string
default = ""
}
variable "secret_key" {
description = "Django secret key"
type = string
sensitive = true
}
variable "snapshot_password" {
description = "GPG password for encrypted auth_user data"
type = string
sensitive = true
}
variable "uv_no_sync" {
description = "Prevent `uv` commands in the Justfile from auto-syncing"
type = bool
default = false
}