-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
91 lines (77 loc) · 2.22 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
variable "base_domain" {
description = "Domain used for all homelab needs"
type = string
}
variable "cloudflare_account_id" {
description = "Cloudflare Account ID"
type = string
sensitive = true
}
variable "cloudflare_api_token" {
description = "Cloudflare API token"
type = string
sensitive = true
}
variable "cloudflare_tunnel_secret" {
description = "Cloudflare tunnel secret (at least 32 bytes, base64 encoded)"
type = string
sensitive = true
}
variable "mail_migadu_admin_username" {
description = "Administrative email for Migadu"
type = string
sensitive = true
}
variable "mail_migadu_admin_token" {
description = "Migadu API Token"
type = string
sensitive = true
}
variable "mail_domain_primary" {
description = "Primary domain for email"
type = object({ name = string, verification_code = string })
sensitive = true
}
variable "mail_domain_spam" {
description = "Spam domain for email"
type = object({ name = string })
sensitive = true
}
variable "mail_domain_aliases" {
description = "List of aliases for primary domain"
type = map(object({ verification_code = string }))
}
variable "mail_extra_identities" {
description = "List of extra identities allowed to send and receive"
type = map(object({
name = string,
password = optional(string),
may_receive = optional(bool),
may_send = optional(bool),
may_access_imap = optional(bool),
may_access_manage_sieve = optional(bool),
may_access_pop3 = optional(bool)
}))
}
variable "mail_password_primary" {
description = "Password for primary account"
type = string
sensitive = true
}
variable "mail_sender_name" {
description = "Sender name for email"
type = string
}
variable "mail_spam_senders" {
description = "List of spammers to reject"
type = list(string)
}
variable "mail_spam_targets" {
description = "List of personal emails user by spammers to reject"
type = list(string)
}
variable "state_and_plan_passphrase" {
description = "Passphrase to decrypt state and plan"
type = string
sensitive = true
}