-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
55 lines (47 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
55
#######################################
# Instance name
#######################################
variable "name" {}
#######################################
# Input parameters
#######################################
variable "domain" {
description = "Domain name"
}
variable "subdomains" {
description = "List of subdomains to set up. Everything here will be redirected to the apex domain."
type = list(any)
default = []
}
variable "route53_zone_id" {
description = "Zone ID of domain"
}
variable "cache_ttl" {
description = "Default cache behavior - TTL values"
type = object({
min = number
default = number
max = number
})
default = {
min = 0
default = 3600
max = 86400
}
}
variable "price_class" {
description = "Cloudfront distribution price class"
default = "PriceClass_100"
}
variable "html_404" {
description = "Path to 404 HTML page"
default = "/404.html"
}
variable "block_ofac_countries" {
description = "Whether or not to block OFAC sanctioned countries"
default = false
}
variable "ofac_countries" {
description = "OFAC countries list"
default = ["BY", "CU", "IR", "KP", "RU", "SY"]
}