-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
64 lines (52 loc) · 1.65 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
56
57
58
59
60
61
62
63
64
variable "name" {
description = "Name to give this environment."
default = "example"
}
variable "hostname" {
description = "Hostname for this website."
default = "example.com"
}
variable "wildcard_ssl" {
description = "Wildcard SSL certificate domain name. E.g. *.example.com"
default = ""
}
variable "aliases" {
description = "Additional aliases to host this website for."
default = []
}
variable "cache_ttl" {
description = "Default TTL to give objects requested from S3 in CloudFront for caching."
default = 3600
}
variable "logs_transition_ia" {
description = "How long to wait before transitioning log files into S3-IA."
default = 30
}
variable "logs_transition_glacier" {
description = "How long to wait before transitioning log files into Glacier."
default = 60
}
variable "logs_expiration" {
description = "How long to wait before deleting old log files."
default = 365
}
variable "price_class" {
description = "Which price_class to enable in CloudFront."
default = "PriceClass_100"
}
variable "index_document" {
description = "Default index document for directories and website root."
default = "index.html"
}
variable "error_document" {
description = "Default html document to display for errors (e.g. 404)."
default = "error.html"
}
variable "tags" {
description = "A map of tags (in addition to Name) to add to all resources."
default = {}
}
variable "force_destroy" {
description = "A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable."
default = false
}