-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
46 lines (40 loc) · 997 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
43
44
45
46
variable "zone" {
description = "Route53 zone name"
type = string
}
variable "target_url" {
description = "URL to redirect to"
type = string
default = null
}
variable "source_subdomain" {
description = "FQDN of subdomain that we want to redirect from."
type = string
default = ""
}
variable "allow_overwrite" {
description = "Allow route53 to overwrite the current rule"
type = bool
default = false
}
variable "remove_trailing_slash" {
description = "Remove trailing slash automatically added by S3 to the target URL. Conflicts with target_url."
type = map(string)
default = {}
}
variable "ttl" {
description = "TTL object to hold the TTL values for min, max and default for the record."
type = object({
min = number
max = number
default = number
})
default = {
min = 31536000
max = 31536000
default = 31536000
}
}
variable "tags" {
type = map(string)
}