generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
66 lines (59 loc) · 1.29 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
variable "zone_name" {
description = "The main domain name."
type = string
}
variable "vpc_id" {
description = "VPC in which private domain will be created."
type = string
default = null
}
variable "vpc_region" {
description = "AWS Region in which private domain will be created."
type = string
default = null
}
variable "a_records" {
description = "Domain A records."
type = map(object({
name = string
ttl = optional(number, 300)
records = list(string)
}))
default = {}
}
variable "cname_records" {
description = "Domain CNAME records."
type = map(object({
name = string
ttl = optional(number, 600)
record = string
}))
default = {}
}
variable "mx_records" {
description = "Domain MX records."
type = map(object({
name = string
ttl = optional(number, 3600)
records = list(string)
}))
default = {}
}
variable "ns_records" {
description = "Domain NS records."
type = map(object({
name = string
ttl = optional(number, 172800)
records = list(string)
}))
default = {}
}
variable "srv_records" {
description = "Domain SRV records."
type = map(object({
name = string
ttl = optional(number, 3600)
records = list(string)
}))
default = {}
}