-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
76 lines (68 loc) · 1.53 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
variable "aws_iam_path_prefix" {
description = "Prefix to use for IAM paths"
type = string
default = ""
}
variable "cloudflare_account_id" {
type = string
}
# Remove once https://github.com/cloudflare/terraform-provider-cloudflare/issues/1921
variable "cloudflare_workers_subdomain" {
description = "Cloudflare account <subdomain>.workers.dev - https://dash.cloudflare.com/workers/subdomain"
type = string
}
variable "domains" {
description = "Domains to verify and use"
type = list(string)
}
variable "modules" {
description = "Optional modules to enable. If enabled, the parameter map of the same name must also be given."
type = object({
outgoing = bool
smtp_relay = bool
})
}
variable "outgoing" {
description = "Outgoing module options"
type = object({
monitoring = object({
dmarc = object({
aggregates = list(string)
forensics = list(string)
})
tls = list(string)
})
})
default = {
monitoring = {
dmarc = {
aggregates = []
forensics = []
}
tls = []
}
}
}
variable "smtp_relay" {
description = "SMTP relay module options"
type = object({
kms_key = object({
arn = string
})
envelope_from = string
envelope_to = string
smtp_host = string
smtp_user = string
smtp_password = string
})
default = {
kms_key = {
arn = ""
}
envelope_from = ""
envelope_to = ""
smtp_host = ""
smtp_user = ""
smtp_password = ""
}
}