-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
126 lines (104 loc) · 3.13 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
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
# These variables must be set when using this module.
# ---------------------------------------------------------------------------------------------------------------------
variable "account_id" {
description = "The account ID where the zone will be placed in."
type = string
}
variable "domain" {
description = "The domain of the zone."
type = string
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL VARIABLES
# These variables have defaults, but may be overridden.
# ---------------------------------------------------------------------------------------------------------------------
variable "plan" {
description = "(Optional) The name of the commercial plan to apply to the zone."
type = string
default = "free"
}
variable "settings_securitylevel" {
description = "(Optional) The Security Level you choose will determine which visitors will be presented with a challenge page."
type = string
default = "essentially_off"
}
variable "apple" {
description = "(Optional) Apple Mail settings"
type = object({
verification = string
dkim_value = string
dmarc_email = string
})
#
# Example:
#
# apple = {
# verification = "apple-domain=XXXXXXXX"
# dkim_value = "sig1.dkim.example.com.at.icloudmailadmin.com"
# dmarc_email = "[email protected]"
# }
#
default = null
}
variable "google" {
description = "(Optional) Google Workspace settings"
type = object({
verification = string
dkim_value = string
dmarc_email = string
mta_sts_value = string
})
#
# Example:
#
# google = {
# verification = "google-site-verification="
# dkim_value = "v=DKIM1; k=rsa; p=XXXXXXXX"
# dmarc_email = "[email protected]"
# mta_sts_value = "v=STSv1; id=20230101T000000;"
# }
#
default = null
}
variable "microsoft" {
description = "(Optional) Microsoft365 settings"
type = object({
verification = string
dmarc_email = string
mta_sts_value = string
})
#
# Example:
#
# microsoft = {
# verification = "msXXXXXXXX"
# dmarc_email = "[email protected]"
# mta_sts_value = "v=STSv1; id=20230101T000000;"
# }
#
default = null
}
variable "postmark" {
description = "(Optional) Postmark settings"
type = object({
dmarc_email = string
dkim_selector = string
dkim_value = string
dkim_selector_staging = optional(string, "disabled")
dkim_value_staging = optional(string, "disabled")
})
#
# Example:
#
# postmark = {
# dmarc_email = "[email protected]"
# dkim_selector = "XXXXXXXXpm._domainkey"
# dkim_value = "v=DKIM1; k=rsa; p=XXXXXXXX"
# dkim_selector_staging = "XXXXXXXXpm._domainkey.staging"
# dkim_value_staging = "v=DKIM1; k=rsa; p=XXXXXXXX"
# }
#
default = null
}