-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
variables.tf
46 lines (39 loc) · 1.49 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
variable "zone_name" {
type = string
default = "$${name}.$${stage}.$${parent_zone_name}"
description = "Zone name"
}
variable "parent_zone_id" {
type = string
default = ""
description = "ID of the hosted zone to contain this record (or specify `parent_zone_name`)"
}
variable "parent_zone_name" {
type = string
default = ""
description = "Name of the hosted zone to contain this record (or specify `parent_zone_id`)"
}
variable "parent_zone_record_enabled" {
type = bool
default = true
description = "Whether to create the NS record on the parent zone. Useful for creating a cluster zone across accounts. `var.parent_zone_name` required if set to false."
}
variable "ns_record_ttl" {
type = number
default = 60
description = <<-EOT
The time to live (TTL) of the Name Server Route53 record, in seconds.
The default value is short for responsiveness to changes during development and
is not recommended for production. Typical production values are 86400 or 172800.
EOT
}
variable "soa_record_ttl" {
type = number
default = 30
description = <<-EOT
The time to live (TTL) of the Start of Authority Route53 record, in seconds.
This sets the maximum time a negative (no data) query can be cached.
The default value is short for responsiveness to changes during development and
is not recommended for production. Typical production values are in the range of 300 to 3600.
EOT
}