-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
76 lines (66 loc) · 1.43 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
locals {
app_name_safe = "foundryvtt-${replace(replace(var.domain_name, "/", "-"), ".", "-")}"
owner = terraform.workspace
}
variable "app_name" {
type = string
default = ""
description = "description"
}
variable "domain_name" {
type = string
}
variable "image" {
type = string
default = "mbround18/foundryvtt-docker:latest"
description = "description"
}
variable "image_pull_secrets" {
default = []
description = "Secret Names for image puller secrets"
}
variable "deployment_limits" {
type = object({
cpu = string
memory = string
})
default = {
cpu = "0.3"
memory = "1024Mi"
}
}
variable "additional_env_vars" {
type = map(string)
sensitive = false
default = {}
description = "description"
}
variable "foundry_modules" {
description = "Configuration for Foundry modules"
type = object({
syncthing = bool
dnd_beyond_rolls = bool
})
default = {
syncthing = false
dnd_beyond_rolls = false
}
}
variable "pvc_storage_sizes" {
description = "Storage sizes for PVCs"
type = map(string)
default = {
backups = "10Gi"
config = "1Gi"
data = "20Gi"
core = "2Gi"
moradin = "1Gi"
syncthing = "500Mi"
app = "4Gi"
}
}
variable "storage_class_name" {
description = "The storage class to be used for PVCs"
type = string
default = "longhorn"
}