forked from cloudposse/terraform-aws-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
executable file
·42 lines (38 loc) · 996 Bytes
/
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
variable "region" {
type = string
description = "AWS Region"
}
variable "domain_names" {
type = list(string)
default = null
description = "Root domain name list, e.g. `[\"example.net\"]`"
}
variable "record_config" {
description = "DNS Record config"
type = list(object({
root_zone = string
name = string
type = string
ttl = string
records = list(string)
}))
default = []
}
# zone_ids can be found here: https://docs.aws.amazon.com/general/latest/gr/elb.html
variable "alias_record_config" {
description = "DNS Alias Record config"
type = list(object({
root_zone = string
name = string
type = string
zone_id = string
record = string
target_health = string
}))
default = []
}
variable "dns_soa_config" {
type = string
default = "awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400"
description = "Root domain name DNS SOA record"
}