-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
55 lines (50 loc) · 1.28 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
# cloudflare
variable "cloudflare_account_id" {
type = string
}
variable "cloudflare_api_token" {
type = string
}
# dns rndc
variable "dns_key_name" {
type = string
}
variable "dns_key_algorithm" {
type = string
}
variable "dns_key_secret" {
type = string
}
variable "zones" {
type = map(object({
provider1_zone_id = string
provider2_zone = string
a_records = map(object({
name = string
ttl = number
provider1_addresses = set(string)
provider2_addresses = set(string)
provider1_proxied = string
}))
cname_records = map(object({
name = string
ttl = number
provider1_cname = string
provider2_cname = string
provider1_proxied = string
}))
mx_records = map(object({
provider1_name = string
provider2_name = string
ttl = number
provider1_mxs = map(object({
exchange = string
preference = number
}))
provider2_mxs = map(object({
exchange = string
preference = number
}))
}))
}))
}