-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
82 lines (69 loc) · 2.5 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
variable "zones" {
description = "a list of dns zones to create"
type = list(string)
}
variable "txt_records" {
description = "Map of TXT records. Keys are the record names, values are String or String[] containing record data."
type = any
default = {}
}
variable "mx_records" {
description = "Map of MX records. Keys are the record names, values are String or String[] containing record data. See AWS documentation for record format."
type = any
default = {}
}
variable "a_records" {
description = "Map of A records. Keys are the record names, values are String or String[] containing record data."
type = any
default = {}
}
variable "cname_records" {
description = "Map of CNAME records. Keys are the record names, values are String or String[] containing record data."
type = any
default = {}
}
variable "ns_records" {
description = "Map of NS records. Keys are the record names, values are String or String[] containing record data."
type = any
default = {}
}
variable "manage_delegation_set" {
description = "Set to false to create/maintain a zone using randomized DNS servers. Mainly useful if you are importing an existing route53 zone, and you don't want it re-created with new primary DNS hosts. Ignored if delegation_set_id is set."
type = bool
default = true
}
variable "delegation_set_id" {
description = "Use this delegation set. Useful if you are using multiple copies of this module and they need to share a delegation set. Causes manage_delegation_set to be ignored."
type = string
default = ""
}
variable "allow_overwrite" {
description = "Enable 'allow_overwrite' on all dns records under this module."
type = bool
default = false
}
variable "a_ttl" {
description = "TTL for A records"
type = number
default = 300 # default TTL from AWS console
}
variable "mx_ttl" {
description = "TTL for MX records"
type = number
default = 86400 # default TTL from AWS console
}
variable "txt_ttl" {
description = "TTL for TXT records"
type = number
default = 300 # default TTL from AWS console
}
variable "cname_ttl" {
description = "TTL for CNAME records"
type = number
default = 300 # default TTL from AWS console
}
variable "ns_ttl" {
description = "TTL for NS records, does not apply to delegation set"
type = number
default = 300 # very short, only likely to be used while moving between DNS providers
}