-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
54 lines (46 loc) · 1.18 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
variable "zone_id" {
type = string
description = "Zone id for record."
}
variable "name" {
type = string
description = "The name of the record."
}
variable "value" {
type = string
description = "The (string) value of the record. Either this or data must be specified."
default = null
}
variable "type" {
type = string
description = "The type of the record."
default = "A"
}
variable "ttl" {
type = number
description = "The TTL of the record (default: '300')."
default = 300
}
variable "proxied" {
type = bool
description = "Whether the record gets Cloudflare's origin protection; defaults to false."
default = false
}
variable "data" {
type = object({
service = string
proto = string
name = string
priority = number
weight = number
port = number
target = string
})
description = "Map of attributes that constitute the record value. Primarily used for LOC and SRV record types. Either this or value must be specified."
default = null
}
variable "priority" {
type = number
description = "The priority of the record."
default = null
}