-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
variables.tf
52 lines (44 loc) · 1.27 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
variable "zone_id" {
type = string
description = "Route53 DNS Zone ID"
default = null
}
variable "zone_name" {
type = string
description = "The Hosted Zone name of the desired Hosted Zone."
default = null
}
variable "private_zone" {
type = bool
description = "Used with `zone_name` input to get a private Hosted Zone."
default = null
}
variable "zone_vpc_id" {
type = string
description = "Used with `zone_name` input to get a private Hosted Zone associated with the `vpc_id` (in this case, private_zone is not mandatory)."
default = null
}
variable "zone_tags" {
type = map(string)
description = "Used with `zone_name` input. A map of tags, each pair of which must exactly match a pair on the desired Hosted Zone."
default = null
}
variable "records" {
type = list(string)
description = "DNS records to create"
}
variable "type" {
type = string
default = "CNAME"
description = "Type of DNS records to create"
}
variable "ttl" {
type = number
default = 300
description = "The TTL of the record to add to the DNS zone to complete certificate validation"
}
variable "dns_name" {
type = string
description = "The name of the DNS record"
default = ""
}